Diminish flycheck-mode and add j/k for error buffer

This commit is contained in:
Henrik Lissner 2015-11-17 02:01:45 -05:00
parent fd432cd7c5
commit cefe148e5d

View file

@ -2,6 +2,7 @@
;; Related to: lib/defuns-flycheck.el ;; Related to: lib/defuns-flycheck.el
(use-package flycheck (use-package flycheck
:diminish flycheck-mode
:commands (flycheck-mode flycheck-list-errors flycheck-buffer) :commands (flycheck-mode flycheck-list-errors flycheck-buffer)
:init :init
(setq flycheck-indication-mode 'right-fringe (setq flycheck-indication-mode 'right-fringe
@ -14,6 +15,8 @@
:n "q" 'kill-this-buffer :n "q" 'kill-this-buffer
:n "C-n" 'flycheck-error-list-next-error :n "C-n" 'flycheck-error-list-next-error
:n "C-p" 'flycheck-error-list-previous-error :n "C-p" 'flycheck-error-list-previous-error
:n "j" 'flycheck-error-list-next-error
:n "k" 'flycheck-error-list-previous-error
:n "RET" 'flycheck-error-list-goto-error) :n "RET" 'flycheck-error-list-goto-error)
(evil-initial-state 'flycheck-error-list-mode 'emacs) (evil-initial-state 'flycheck-error-list-mode 'emacs)