Move nose key bindings to :init
This commit is contained in:
parent
c7aef41e81
commit
ab7bb458c4
1 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
Reference in a new issue