+Keybind for formatting buffer using py-yapf
This commit is contained in:
@@ -137,6 +137,7 @@ flycheck python checker, as well as the interpreter, to be Python3
|
|||||||
:map python-mode-map
|
:map python-mode-map
|
||||||
:localleader
|
:localleader
|
||||||
:desc "Start python minor" "c" 'run-python
|
:desc "Start python minor" "c" 'run-python
|
||||||
|
:desc "Format buffer" "=" 'py-yapf-buffer
|
||||||
(:prefix "s"
|
(:prefix "s"
|
||||||
:desc "Send region REPL" "r" 'python-shell-send-region
|
:desc "Send region REPL" "r" 'python-shell-send-region
|
||||||
:desc "Send buffer" "b" 'python-shell-send-buffer
|
:desc "Send buffer" "b" 'python-shell-send-buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user