Merge evil-collection-anaconda into lang/python #628
This is the first step of removing evil-collection from Doom.
This commit is contained in:
parent
c80baef05d
commit
1f5dae9176
2 changed files with 15 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
|||
|
||||
(defvar +evil-collection-disabled-list
|
||||
'(kotlin-mode ; doesn't do anything useful
|
||||
simple) ; ditto
|
||||
simple
|
||||
anaconda-mode) ; we'll do it ourselves
|
||||
"A list of `evil-collection' modules to disable. See the definition of this
|
||||
variable for an explanation of the defaults (in comments). See
|
||||
`evil-collection-mode-list' for a list of available options.")
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue