Move nose key bindings to :init

This commit is contained in:
syl20bnr 2014-09-12 23:31:03 -04:00
parent c7aef41e81
commit ab7bb458c4

View file

@ -76,19 +76,21 @@
nosetests-pdb-module
nosetests-suite
nosetests-pdb-suite)
:init
(evil-leader/set-key-for-mode 'python-mode
"mTf" 'nosetests-pdb-one
"mtf" 'nosetests-one
"mTa" 'nosetests-pdb-all
"mta" 'nosetests-all
"mTm" 'nosetests-pdb-module
"mtm" 'nosetests-module
"mTs" 'nosetests-pdb-suite
"mts" 'nosetests-suite)
:config
(progn
(add-to-list 'nose-project-root-files "setup.cfg")
(setq nose-use-verbose nil)
(evil-leader/set-key-for-mode 'python-mode
"mTf" 'nosetests-pdb-one
"mtf" 'nosetests-one
"mTa" 'nosetests-pdb-all
"mta" 'nosetests-all
"mTm" 'nosetests-pdb-module
"mtm" 'nosetests-module
"mTs" 'nosetests-pdb-suite
"mts" 'nosetests-suite))))
)))
(defun spacemacs/init-o-blog ()
(use-package o-blog