mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge evil-collection-anaconda into lang/python #628
This is the first step of removing evil-collection from Doom.
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user