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

@ -87,14 +87,14 @@ called.")
(when (featurep 'evil)
(add-hook 'anaconda-mode-hook #'evil-normalize-keymaps))
(map! :map anaconda-mode-map
:localleader
(map! :localleader
:map anaconda-mode-map
:prefix "f"
:nv "d" #'anaconda-mode-find-definitions
:nv "h" #'anaconda-mode-show-doc
:nv "a" #'anaconda-mode-find-assignments
:nv "f" #'anaconda-mode-find-file
:nv "u" #'anaconda-mode-find-references))
"d" #'anaconda-mode-find-definitions
"h" #'anaconda-mode-show-doc
"a" #'anaconda-mode-find-assignments
"f" #'anaconda-mode-find-file
"u" #'anaconda-mode-find-references))
(def-package! nose
@ -107,29 +107,29 @@ called.")
(when (featurep 'evil)
(add-hook 'nose-mode-hook #'evil-normalize-keymaps))
(map! :map nose-mode-map
:localleader
(map! :localleader
:map nose-mode-map
:prefix "t"
:n "r" #'nosetests-again
:n "a" #'nosetests-all
:n "s" #'nosetests-one
:n "v" #'nosetests-module
:n "A" #'nosetests-pdb-all
:n "O" #'nosetests-pdb-one
:n "V" #'nosetests-pdb-module))
"r" #'nosetests-again
"a" #'nosetests-all
"s" #'nosetests-one
"v" #'nosetests-module
"A" #'nosetests-pdb-all
"O" #'nosetests-pdb-one
"V" #'nosetests-pdb-module))
(def-package! python-pytest
:defer t
:init
(map! :after python
:map python-mode-map
:localleader
:map python-mode-map
:prefix "t"
:nv "f" #'python-pytest-file
:nv "k" #'python-pytest-file-dwim
:nv "m" #'python-pytest-repeat
:nv "p" #'python-pytest-popup))
"f" #'python-pytest-file
"k" #'python-pytest-file-dwim
"m" #'python-pytest-repeat
"p" #'python-pytest-popup))
;;