diff --git a/emacs/init.el b/emacs/init.el index ada3ec5..8652d06 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -240,7 +240,12 @@ (use-package outli :ensure (:host github :repo "jdtsmith/outli") :bind (:map outli-mode-map - ("C-c C-p" . (lambda () (interactive) (outline-back-to-heading)))) + ("C-c C-p" . (lambda () (interactive) (outline-back-to-heading))) + ;; Stop outline navigation from capturing C-p and C-n, which makes it + ;; difficult to navigate into a section + :map outline-navigation-repeat-map + ("C-p" . nil) + ("C-n" . nil)) :hook ((prog-mode . outli-mode) (text-mode . outli-mode)))