syntax-highlighting: changed flycheck-error-list-mode keymap

- Removed redundant keybinding for `RET`, which is already defined in
`flycheck`.
- Added two keybindings to move the focus to next/previous line without also
viewing the corresponding error in the other window.
This commit is contained in:
Lucius Hu 2022-07-14 03:31:59 -04:00
parent 5d3820a1e5
commit 016e2638f0
No known key found for this signature in database
GPG Key ID: 7E474E82E29B5A7A
1 changed files with 4 additions and 3 deletions

View File

@ -69,9 +69,10 @@
(evilified-state-evilify-map flycheck-error-list-mode-map
:mode flycheck-error-list-mode
:bindings
"RET" 'flycheck-error-list-goto-error
"j" 'flycheck-error-list-next-error
"k" 'flycheck-error-list-previous-error))))
"j" #'flycheck-error-list-next-error
"k" #'flycheck-error-list-previous-error
"J" #'next-line
"K" #'previous-line))))
(defun syntax-checking/init-flycheck-pos-tip ()
(use-package flycheck-pos-tip