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

@ -191,13 +191,6 @@ more information on modifiers."
(or (and (>= char ?2) (<= char ?9))
(funcall orig-fn char)))
;;;###autoload
(defun +evil*set-jump (orig-fn &rest args)
"Set a jump point and ensure ORIG-FN doesn't set any new jump points."
(evil-set-jump (if (markerp (car args)) (car args)))
(let ((evil--jumps-jumping t))
(apply orig-fn args)))
;;;###autoload
(defun +evil*fix-dabbrev-in-minibuffer ()
"Make `try-expand-dabbrev' from `hippie-expand' work in minibuffer. See