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
|
||||
:after anaconda-mode
|
||||
:config
|
||||
(set! :emr 'python-mode
|
||||
'(:nv anaconda-mode-show-doc "view documentation")
|
||||
'(:nv anaconda-mode-find-assignments "find assignments")
|
||||
'(:nv anaconda-mode-find-definitions "find definitions")
|
||||
'(:nv anaconda-mode-find-file "find assignments")
|
||||
'(:n anaconda-mode-find-references "show usages")))
|
||||
(map! :map python-mode-map
|
||||
:localleader
|
||||
:prefix "r"
|
||||
:nv "fd" 'anaconda-mode-show-doc
|
||||
:nv "fa" 'anaconda-mode-find-assignments
|
||||
:nv "fa" 'anaconda-mode-find-definitions
|
||||
:nv "ff" 'anaconda-mode-find-file
|
||||
:nv "u" 'anaconda-mode-find-references))
|
||||
|
||||
|
||||
(def-package! pip-requirements
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue