diff --git a/emacs/init.org b/emacs/init.org index e9ded61..d82a1be 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2880,9 +2880,10 @@ And support pyenv (NOT pyvenv) to change Python versions: #+BEGIN_SRC emacs-lisp (use-package python-pytest :commands (python-pytest-popup - python-pytest--current-defun) + python-pytest--current-defun) :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)) #+END_SRC And borrowing some functions from python-pytest, we can get some nosetests support as well: