Tell which-key about nosetests keybinding
This commit is contained in:
parent
ab5d635cc4
commit
ac657449ad
@ -2646,6 +2646,12 @@ And borrowing some functions from python-pytest, we can get some nosetests suppo
|
||||
(general-def nosetests-map "m" #'nosetests-module)
|
||||
(general-def nosetests-map "f" #'nosetests-file)
|
||||
(general-def nosetests-map "d" #'nosetests-def)
|
||||
|
||||
(add-hook 'python-mode-hook
|
||||
(lambda ()
|
||||
(make-local-variable 'which-key-replacement-alist)
|
||||
(which-key-add-key-based-replacements
|
||||
"C-c t n" "nosetests")))
|
||||
#+END_SRC
|
||||
|
||||
* Hy
|
||||
|
Loading…
Reference in New Issue
Block a user