1
0
Fork 0

[emacs] Use 'previous-error for `]e' keybinding

* emacs.d/emacs.org: Replace custom negative-argument 'next-error with
  'previous-error for `]e` evil binding (I'm not sure when it was
  introduced, or if I just completely missed it to begin with since flyspell
  doesn't offer a previous).
master
Mike Gerwitz 2016-09-19 23:34:08 -04:00
parent a643713a83
commit 6fa3ebbed0
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 4 deletions

View File

@ -484,10 +484,7 @@ provided for convenience.
#+BEGIN_SRC emacs-lisp
(evil-define-key 'normal global-map
"]e" 'next-error
"[e" (lambda (&optional arg reset)
(interactive "P")
(next-error (- (prefix-numeric-value arg))
reset)))
"[e" 'previous-error)
#+END_SRC
*** Spell Checking