Fix gs in org-mode #2218

Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.

Also fixes +org/goto-visible if used before avy is loaded.

Relevant to #1672
This commit is contained in:
Henrik Lissner 2019-12-20 13:40:06 -05:00
parent bff04ed35c
commit 27cabea6b6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 6 additions and 12 deletions

View file

@ -3,6 +3,7 @@
;;;###autoload
(defun +org-headline-avy ()
"TODO"
(require 'avy)
(save-excursion
(when-let* ((org-reverse-note-order t)
(pos (avy-with avy-goto-line (avy-jump (rx bol (1+ "*") (1+ blank))))))