From 726d11f6b1aa52b7d5ad95723a05c32e0b8432f7 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 12 Dec 2019 14:33:07 -0500 Subject: [PATCH] Add evil-snipe --- emacs/init.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 74e3338..c2be7c5 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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)