Add better-jumper

Replaces evil's jumplist; makes its functionality available for non evil
users.
This commit is contained in:
Henrik Lissner 2019-04-21 23:22:06 -04:00
parent b189254050
commit a4c5396558
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 55 additions and 25 deletions

View file

@ -109,11 +109,6 @@ line with a linewise comment.")
(advice-add #'evil-window-split :override #'+evil*window-split)
(advice-add #'evil-window-vsplit :override #'+evil*window-vsplit)
;; Integrate evil's jump-list into some navigational commands
(advice-add #'counsel-git-grep-action :around #'+evil*set-jump)
(advice-add #'helm-ag--find-file-action :around #'+evil*set-jump)
(advice-add #'xref-push-marker-stack :around #'+evil*set-jump)
;; In evil, registers 2-9 are buffer-local. In vim, they're global, so...
(advice-add #'evil-global-marker-p :around #'+evil*make-numbered-markers-global)