Add evil-snipe

This commit is contained in:
Jeremy Dormitzer 2019-12-12 14:33:07 -05:00
parent d3317c3691
commit 726d11f6b1

View File

@ -164,6 +164,16 @@ Use the spacebar as a leader key in evil-mode's normal state and in various othe
(leader-def-key "?" help-map)
#+END_SRC
** evil-snipe
#+BEGIN_SRC emacs-lisp
(use-package evil-snipe
:after (evil)
:config
(evil-snipe-mode 1)
(evil-snipe-override-mode 1)
(with-eval-after-load 'magit
(add-hook 'magit-mode-hook 'turn-off-evil-snipe-override-mode)))
#+END_SRC
** Additional keybindings
#+BEGIN_SRC emacs-lisp
(general-def 'normal "zM" #'hs-hide-level :keymaps 'override)