add outline minor mode evil bindings

This commit is contained in:
ndwarshuis 2019-05-08 15:35:22 -04:00
parent 143cca9ed3
commit ef00d274d6
1 changed files with 9 additions and 0 deletions

View File

@ -3357,6 +3357,15 @@ This is somewhat strange because all I really care about is moving between lines
"0" 'beginning-of-visual-line "0" 'beginning-of-visual-line
"$" 'end-of-visual-line) "$" 'end-of-visual-line)
#+END_SRC #+END_SRC
*** outline-minor-mode
#+BEGIN_SRC emacs-lisp
(evil-define-key '(normal visual) outline-minor-mode-map
"gk" #'outline-backward-same-level
"gj" #'outline-forward-same-level
(kbd "M-k") #'outline-move-subtree-up ; requires outline magic
(kbd "M-j") #'outline-move-subtree-down ; requires outline magic
(kbd "M-RET") #'outline-insert-heading)
#+END_SRC
*** collection *** collection
Most packages that don't have an evil version are in this one. Some don't behave the way I like so those are further modified below. Most packages that don't have an evil version are in this one. Some don't behave the way I like so those are further modified below.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp