diff options
author | sterni <sternenseemann@systemli.org> | 2023-07-03T21·52+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2023-07-05T12·37+0000 |
commit | 33c1d0a7ef88bd8bc3967dad9113432cc1c00512 (patch) | |
tree | 0b36df86d22b357e7d12b49c8e581a19961bbc2e | |
parent | b4bba0c2216fe834fe91850d8f8929647a31c485 (diff) |
fix(sterni/emacs): banish flycheck keymap to <leader>! r/6394
This stops it from shadowing org-mode's C-c ! which I wanted to use a few times, curiously. Surprisingly, this seems to work correctly even though no special evil binding facilities are involved, i.e. the keys only work in normal mode. Change-Id: I184321c1f1b02d1661dc915bb3a384a349a04068 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8928 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org>
-rw-r--r-- | users/sterni/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index eaca20a02d63..4cb741f62d41 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -252,7 +252,8 @@ (use-package haskell-mode) (use-package flycheck - :init (global-flycheck-mode)) + :init (global-flycheck-mode) + :custom flycheck-keymap-prefix (kbd "<leader>!")) (use-package lsp-mode :hook ((haskell-mode . lsp-deferred)) :commands (lsp lsp-deferred) |