diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-08-26T13·13-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2021-08-26T13·45+0000 |
commit | aad7e7e74bdb12b03fa132978556126d20c6cdfd (patch) | |
tree | be52729225ff12151ebaaa9e3cfbfb0e3e737d8d | |
parent | 5ba19ec2a29bcc89c93097208f065ebddb3dbe70 (diff) |
fix(gs/emacs): Don't repeat flycheck nav with evil . r/2782
Prevent flycheck-next-error and flycheck-prev-error from being repeated by evil, since they're movement commands rather than editing commands. This lets me spam `]e.` if I have to do the same thing to all the errors in a buffer, for example. Change-Id: I5993f6d19b71b63e5f4be1f3ce9e0cfd0357cc6e Reviewed-on: https://cl.tvl.fyi/c/depot/+/3425 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
-rw-r--r-- | users/grfn/emacs.d/+bindings.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/+bindings.el b/users/grfn/emacs.d/+bindings.el index 71efd5590d56..e7194750b20f 100644 --- a/users/grfn/emacs.d/+bindings.el +++ b/users/grfn/emacs.d/+bindings.el @@ -114,6 +114,12 @@ private/hlissner/snippets." (paxedit-implicit-sexp-kill n) (paxedit-sexp-kill n) (message paxedit-message-kill))) + +;;; + +(evil-set-command-property 'flycheck-next-error :repeat nil) +(evil-set-command-property 'flycheck-prev-error :repeat nil) + ;;; (map! |