Rewrote initfiles
This commit is contained in:
parent
ec5106ffab
commit
77349a2046
50 changed files with 2478 additions and 1670 deletions
|
@ -6,7 +6,7 @@
|
|||
:init (setq python-indent-offset 4)
|
||||
:config
|
||||
(progn
|
||||
(setq python-environment-directory *tmp-dir)
|
||||
(setq python-environment-directory my-tmp-dir)
|
||||
(setq python-shell-interpreter "ipython")
|
||||
|
||||
(add-hook! 'python-mode-hook
|
||||
|
@ -18,20 +18,18 @@
|
|||
(bind python-mode-map (kbd "DEL") nil)
|
||||
(bind 'motion python-mode-map "gd" 'jedi:goto-definition)
|
||||
|
||||
(use-package jedi
|
||||
:config
|
||||
(progn
|
||||
(unless (file-directory-p python-environment-directory)
|
||||
(jedi:install-server))
|
||||
(add-hook 'python-mode-hook 'jedi:ac-setup)))
|
||||
(require 'jedi)
|
||||
(unless (file-directory-p python-environment-directory)
|
||||
(jedi:install-server))
|
||||
(add-hook 'python-mode-hook 'jedi:ac-setup)
|
||||
|
||||
(use-package nose
|
||||
:commands (nose-mode)
|
||||
:commands nose-mode
|
||||
:init
|
||||
(progn
|
||||
;; Reset nose keymap, we'll set new ones in my-keymaps.el
|
||||
(defvar nose-mode-map (make-sparse-keymap))
|
||||
(associate-minor-mode "/test_.+\\.py\\'" nose-mode))
|
||||
(associate-minor-mode "/test_.+\\.py\\'" 'nose-mode))
|
||||
:config
|
||||
(bind 'normal nose-mode-map
|
||||
",tr" 'nosetests-again
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue