mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Diminish flycheck-mode and add j/k for error buffer
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user