33 lines
961 B
Org Mode
33 lines
961 B
Org Mode
#+title: evil-leap
|
|
#+subtitle: Emacs' answer to Neovim's answer to the mouse.
|
|
#+author: Madeleine Sydney
|
|
|
|
Evil-leap is a port of [[https://github.com/ggandor/leap.nvim/][leap.nvim]], a fantastic Neovim package that allows you to search for and quickly jump to two-character strings.
|
|
|
|
* Installation
|
|
|
|
With ~use-package~ + [[https://github.com/radian-software/straight.el][Straight]]:
|
|
|
|
#+begin_src elisp
|
|
(use-package evil-leap
|
|
:straight (:type git
|
|
:host gitlab
|
|
:repo "msyds/evil-leap")
|
|
:config
|
|
;; Optionally rebind `evil-leap-forward' and `evil-leap-backward' from their
|
|
;; defaults ('s'/'S').
|
|
;;
|
|
;; (evil-define-key* '(motion normal) evil-leap-mode-map
|
|
;; "s" #'evil-leap-forward
|
|
;; "S" #'evil-leap-backward)
|
|
)
|
|
#+end_src
|
|
|
|
* To-do
|
|
|
|
- [ ] Fix exception thrown when no matches.
|
|
- [ ] Fix case-sensitive searching.
|
|
- [ ] ~SPC SPC~ to match newline.
|
|
- [ ] Remove Evil dependency.
|
|
- [ ] Case-fold?
|