From e0a16decc8972e8dbe3b9cb54fb950e682c4a3fa Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 19 Mar 2022 22:06:40 +0800 Subject: Add keymap of flymake (emacs) --- .emacs.d/lisp/init-misc.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index fea6e3b..edc01b8 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -69,4 +69,9 @@ (with-eval-after-load 'eldoc (gx/diminish 'eldoc-mode)) +(with-eval-after-load 'evil + (evil-define-key 'normal 'flymake-mode + (kbd "[g") 'flymake-goto-prev-error + (kbd "]g") 'flymake-goto-next-error)) + (provide 'init-misc) -- cgit v1.2.3