diff --git a/emacs/init.org b/emacs/init.org index c11b562..a9f670a 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2904,7 +2904,8 @@ And support pyenv (NOT pyvenv) to change Python versions: python-pytest--current-defun) :general (python-mode-map "C-c t p" #'python-pytest-popup) - ((normal motion visual) python-pytest-mode-map "g r" #'python-pytest-repeat)) + ((normal motion visual) python-pytest-mode-map "g r" #'python-pytest-repeat) + ((normal motion visual) python-pytest-mode-map "q" #'quit-window)) #+END_SRC And borrowing some functions from python-pytest, we can get some nosetests support as well: