Back to dash-at-point! (and zeal-at-point)

This commit is contained in:
Henrik Lissner 2016-05-26 18:43:22 -04:00
parent 7963c48600
commit 9e7749cf1d
28 changed files with 58 additions and 120 deletions

View file

@ -21,13 +21,9 @@
:config
(def-company-backend! python-mode (anaconda))
(def-docset! python-mode ("OpenCV_Python"))
(def-repl! python-mode doom/inf-python)
(def-version-cmd! python-mode "python --version 2>&1 | cut -d' ' -f2")
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
(add-hook 'doom-env-version-hook
(lambda (v) (when (eq major-mode 'python-mode)
(push (if (string-prefix-p "2" v) "Python_2" "Python_3") helm-dash-docsets)))))
(define-key python-mode-map (kbd "DEL") nil)) ; interferes with smartparens
(use-package anaconda-mode
:after python