Add quit-window binding in pytest buffers

This commit is contained in:
Jeremy Dormitzer 2020-04-06 11:58:29 -04:00
parent cd1906bb71
commit 0ced3370f3

View File

@ -2904,7 +2904,8 @@ And support pyenv (NOT pyvenv) to change Python versions:
python-pytest--current-defun) python-pytest--current-defun)
:general :general
(python-mode-map "C-c t p" #'python-pytest-popup) (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 #+END_SRC
And borrowing some functions from python-pytest, we can get some nosetests support as well: And borrowing some functions from python-pytest, we can get some nosetests support as well: