Sniping
This commit is contained in:
parent
d72c692877
commit
f0a71c208a
2 changed files with 24 additions and 0 deletions
|
@ -38,6 +38,8 @@
|
|||
evil
|
||||
evil-cleverparens
|
||||
evil-collection
|
||||
evil-easymotion
|
||||
evil-snipe
|
||||
forge
|
||||
geiser
|
||||
git-gutter
|
||||
|
|
|
@ -306,6 +306,28 @@
|
|||
("g," . 'goto-last-change)
|
||||
("g;" . 'goto-last-change-reverse)))
|
||||
|
||||
(use-package evil-snipe
|
||||
:custom
|
||||
(evil-snipe-scope 'whole-visible)
|
||||
(evil-snipe-repeat-scope 'whole-buffer)
|
||||
(evil-snipe-spillover-scope 'whole-buffer)
|
||||
:hook
|
||||
evil-mode
|
||||
(evil-mode . evil-snipe-override-mode)
|
||||
(magit-mode . turn-off-evil-snipe-override-mode)
|
||||
:config
|
||||
(define-key evil-snipe-parent-transient-map
|
||||
(kbd "C-,")
|
||||
(evilem-create
|
||||
'evil-snipe-repeat
|
||||
:bind ((evil-snipe-scope 'buffer)
|
||||
(evil-snipe-enable-highlight)
|
||||
(evil-snipe-enable-incremental-highlight)))))
|
||||
|
||||
(use-package evil-easymotion
|
||||
:config
|
||||
(evilem-default-keybindings "<leader>"))
|
||||
|
||||
;;;; Lisp Navigation and Editing
|
||||
;;;;; Helper Functions
|
||||
(defun cc/move-sexp-backward ()
|
||||
|
|
Loading…
Reference in a new issue