+Keybind for formatting buffer using py-yapf

This commit is contained in:
oreodave
2019-07-28 16:12:30 +01:00
parent 9c020d15d3
commit 0904d190dd

View File

@@ -137,6 +137,7 @@ flycheck python checker, as well as the interpreter, to be Python3
:map python-mode-map
:localleader
:desc "Start python minor" "c" 'run-python
:desc "Format buffer" "=" 'py-yapf-buffer
(:prefix "s"
:desc "Send region REPL" "r" 'python-shell-send-region
:desc "Send buffer" "b" 'python-shell-send-buffer