lang/python: replace :emr setting with localleader bindings
This commit is contained in:
parent
2a9a1ef186
commit
8abf254a48
1 changed files with 8 additions and 6 deletions
|
@ -40,12 +40,14 @@
|
||||||
(def-package! company-anaconda
|
(def-package! company-anaconda
|
||||||
:after anaconda-mode
|
:after anaconda-mode
|
||||||
:config
|
:config
|
||||||
(set! :emr 'python-mode
|
(map! :map python-mode-map
|
||||||
'(:nv anaconda-mode-show-doc "view documentation")
|
:localleader
|
||||||
'(:nv anaconda-mode-find-assignments "find assignments")
|
:prefix "r"
|
||||||
'(:nv anaconda-mode-find-definitions "find definitions")
|
:nv "fd" 'anaconda-mode-show-doc
|
||||||
'(:nv anaconda-mode-find-file "find assignments")
|
:nv "fa" 'anaconda-mode-find-assignments
|
||||||
'(:n anaconda-mode-find-references "show usages")))
|
:nv "fa" 'anaconda-mode-find-definitions
|
||||||
|
:nv "ff" 'anaconda-mode-find-file
|
||||||
|
:nv "u" 'anaconda-mode-find-references))
|
||||||
|
|
||||||
|
|
||||||
(def-package! pip-requirements
|
(def-package! pip-requirements
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue