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
|
@ -574,17 +574,7 @@
|
||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
(setq evil-jumper-auto-save-interval 600)
|
(setq evil-jumper-auto-save-interval 600)
|
||||||
;; Move keybindings into global motion state map
|
(evil-jumper-mode t))))
|
||||||
(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))))
|
|
||||||
|
|
||||||
(defun spacemacs/init-evil-lisp-state ()
|
(defun spacemacs/init-evil-lisp-state ()
|
||||||
(use-package evil-lisp-state
|
(use-package evil-lisp-state
|
||||||
|
|
Loading…
Reference in a new issue