(py|rb)env version in modeline + define-builder macro

This commit is contained in:
Henrik Lissner 2015-10-01 03:40:09 -04:00
parent 979472385b
commit c27dfd5540
10 changed files with 89 additions and 38 deletions

View file

@ -10,6 +10,7 @@
python-environment-directory narf-temp-dir
python-shell-interpreter "ipython")
:config
(define-env-command! python-mode "pyenv version | cut -d' ' -f1")
(define-key python-mode-map (kbd "DEL") nil)) ; interferes with smartparens
(use-package nose
@ -28,6 +29,7 @@
:n "tV" 'nosetests-pdb-module)))
(use-package anaconda-mode
:diminish anaconda-mode
:defines (anaconda-mode-map anaconda-nav-mode-map)
:functions (anaconda-mode-running-p)
:init (add-hook! python-mode '(anaconda-mode eldoc-mode))