lang/python: replace :emr setting with localleader bindings

This commit is contained in:
Henrik Lissner 2017-02-27 20:52:31 -05:00
parent 2a9a1ef186
commit 8abf254a48

View file

@ -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