Normalize :leader/:localleader keybinds

Evil states no longer apply to them. Also removes x-alt-keysym.
This commit is contained in:
Henrik Lissner 2018-12-23 23:54:27 -05:00
parent 9936532ea3
commit 3f195614d9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
34 changed files with 626 additions and 618 deletions

View file

@ -21,8 +21,8 @@
(add-hook 'dante-mode-hook #'evil-normalize-keymaps))
(map! :map dante-mode-map
:localleader
:n "t" #'dante-type-at
:n "i" #'dante-info
:n "l" #'haskell-process-load-or-reload
:n "e" #'dante-eval-block
:n "a" #'attrap-attrap))
"t" #'dante-type-at
"i" #'dante-info
"l" #'haskell-process-load-or-reload
"e" #'dante-eval-block
"a" #'attrap-attrap))

View file

@ -21,10 +21,10 @@ This is necessary because `intero-mode' doesn't do its own error checks."
(when (featurep 'evil)
(add-hook 'intero-mode-hook #'evil-normalize-keymaps))
(map! :map intero-mode-map
:localleader
:n "t" #'intero-type-at
:n "i" #'intero-info
:n "l" #'intero-repl-load
:nv "e" #'intero-repl-eval-region
:n "a" #'intero-apply-suggestions))
(map! :localleader
:map intero-mode-map
"t" #'intero-type-at
"i" #'intero-info
"l" #'intero-repl-load
"e" #'intero-repl-eval-region
"a" #'intero-apply-suggestions))

View file

@ -21,11 +21,10 @@
(add-to-list 'completion-ignored-extensions ".hi")
(map! :map haskell-mode-map
:localleader
(map! :localleader
:map haskell-mode-map
;; this is set to use cabal for dante users and stack for intero users:
:n "b" #'haskell-process-cabal-build
:n "c" #'haskell-cabal-visit-file
:v "h" #'haskell-hide-toggle
:nv "H" #'haskell-hide-toggle-all))
"b" #'haskell-process-cabal-build
"c" #'haskell-cabal-visit-file
"h" #'haskell-hide-toggle
"H" #'haskell-hide-toggle-all))