From 8abf254a48c18a621e94479821d93ccc35186581 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 27 Feb 2017 20:52:31 -0500 Subject: [PATCH] lang/python: replace :emr setting with localleader bindings --- modules/lang/python/config.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index 45af602ae..48b2b8952 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -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