evil-jumper: Remove hack for evil-jumper bindings
A recent change in evil-jumper makes this unnecessary. The keys are now bound as remaps, which means they have the same priority as the location of the evil-jump-forward and evil-jump-backward commands. This is exactly what this hack was trying to accomplish, so it's no longer necessary.
This commit is contained in:
parent
e2be2b9a37
commit
0f0f583489
1 changed files with 1 additions and 11 deletions
|
@ -574,17 +574,7 @@
|
|||
:init
|
||||
(progn
|
||||
(setq evil-jumper-auto-save-interval 600)
|
||||
;; Move keybindings into global motion state map
|
||||
(add-hook 'evil-jumper-mode-hook
|
||||
(lambda ()
|
||||
(if evil-jumper-mode
|
||||
(progn
|
||||
(define-key evil-motion-state-map (kbd "<C-i>") 'evil-jumper/forward)
|
||||
(define-key evil-motion-state-map (kbd "C-o") 'evil-jumper/backward))
|
||||
(define-key evil-motion-state-map (kbd "<C-i>") 'evil-jump-forward)
|
||||
(define-key evil-motion-state-map (kbd "C-o") 'evil-jump-backward))))
|
||||
(evil-jumper-mode t)
|
||||
(setcdr evil-jumper-mode-map nil))))
|
||||
(evil-jumper-mode t))))
|
||||
|
||||
(defun spacemacs/init-evil-lisp-state ()
|
||||
(use-package evil-lisp-state
|
||||
|
|
Reference in a new issue