aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-07-28 16:12:30 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-07-28 16:12:30 +0100
commit0904d190dd2846110deeb0f6583c4791524fd035 (patch)
tree82945146a2ac48f4ba88719235d47dc72cd4df96
parent9c020d15d3dcd670f118e44f3c8e74fb060a3bfc (diff)
downloaddotfiles-0904d190dd2846110deeb0f6583c4791524fd035.tar.gz
dotfiles-0904d190dd2846110deeb0f6583c4791524fd035.tar.bz2
dotfiles-0904d190dd2846110deeb0f6583c4791524fd035.zip
+Keybind for formatting buffer using py-yapf
-rw-r--r--doom.d/config.org1
1 files changed, 1 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org
index 37e6652..7c27a70 100644
--- a/doom.d/config.org
+++ b/doom.d/config.org
@@ -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