aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-19 22:06:40 +0800
committerGuangxiong Lin <[email protected]>2022-03-19 22:06:40 +0800
commite0a16decc8972e8dbe3b9cb54fb950e682c4a3fa (patch)
tree542c77c11318f3846b8eba26243412c77eabc62d /.emacs.d/lisp
parentfc6d592e32b69b5ab569b64981652e4f8e0a42d7 (diff)
downloaddotfiles-e0a16decc8972e8dbe3b9cb54fb950e682c4a3fa.tar.gz
dotfiles-e0a16decc8972e8dbe3b9cb54fb950e682c4a3fa.tar.bz2
dotfiles-e0a16decc8972e8dbe3b9cb54fb950e682c4a3fa.zip
Add keymap of flymake (emacs)
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-misc.el5
1 files changed, 5 insertions, 0 deletions
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)