Move nav-flash from ui/doom to ui/nav-flash (#92)
This commit is contained in:
parent
3c8e70c0d0
commit
084c7be50f
7 changed files with 61 additions and 40 deletions
21
modules/ui/nav-flash/README.org
Normal file
21
modules/ui/nav-flash/README.org
Normal file
|
@ -0,0 +1,21 @@
|
|||
* :ui nav-flash
|
||||
|
||||
This module uses ~nav-flash~ to flash the line around the cursor after any motion command that might reasonably send the cursor somewhere the eyes can't follow.
|
||||
|
||||
#+begin_quote
|
||||
Tremendously helpful on a 30" 2560x1600 display.
|
||||
#+end_quote
|
||||
|
||||
** Install
|
||||
This module has no other dependencies.
|
||||
|
||||
** Configure
|
||||
By default, ~nav-flash~ will be triggered whenever ~recenter~ is called. =:feature jump= attaches ~recenter~ to various hooks:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook!
|
||||
'(imenu-after-jump-hook evil-jumps-post-jump-hook
|
||||
counsel-grep-post-action-hook dumb-jump-after-jump-hook)
|
||||
#'recenter)
|
||||
#+END_SRC
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue