From aad7e7e74bdb12b03fa132978556126d20c6cdfd Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 26 Aug 2021 09:13:41 -0400 Subject: fix(gs/emacs): Don't repeat flycheck nav with evil . 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 Tested-by: BuildkiteCI --- users/grfn/emacs.d/+bindings.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'users') diff --git a/users/grfn/emacs.d/+bindings.el b/users/grfn/emacs.d/+bindings.el index 71efd5590d..e7194750b2 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! -- cgit 1.4.1