Skip to content

Commit

Permalink
syntax-highlighting: changed flycheck-error-list-mode keymap
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
lebensterben committed Jul 14, 2022
1 parent 5d3820a commit 016e263
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions layers/+checkers/syntax-checking/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 016e263

Please sign in to comment.