Merge evil-collection-anaconda into lang/python #628

This is the first step of removing evil-collection from Doom.
This commit is contained in:
Henrik Lissner 2018-05-31 11:32:26 +02:00
parent c80baef05d
commit 1f5dae9176
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 15 additions and 2 deletions

View file

@ -124,3 +124,15 @@ environment variables."
:n "O" #'nosetests-pdb-one
:n "V" #'nosetests-pdb-module))
;;
;; Evil integration
;;
(when (featurep! :feature evil +everywhere)
(add-hook 'anaconda-mode-hook #'evil-normalize-keymaps)
(map! :after anaconda-mode
:map anaconda-view-mode-map
:m "]]" #'anaconda-view-mode-next-definition
:m "[[" #'anaconda-view-mode-previous-definition
:n "q" #'quit-window))