[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
parent
a643713a83
commit
6fa3ebbed0
|
@ -484,10 +484,7 @@ provided for convenience.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(evil-define-key 'normal global-map
|
(evil-define-key 'normal global-map
|
||||||
"]e" 'next-error
|
"]e" 'next-error
|
||||||
"[e" (lambda (&optional arg reset)
|
"[e" 'previous-error)
|
||||||
(interactive "P")
|
|
||||||
(next-error (- (prefix-numeric-value arg))
|
|
||||||
reset)))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Spell Checking
|
*** Spell Checking
|
||||||
|
|
Loading…
Reference in New Issue