summaryrefslogtreecommitdiff
path: root/rc/filetype/python.kak
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2022-04-15 08:14:17 +1000
committerMaxime Coste <mawww@kakoune.org>2022-07-05 08:43:40 +1000
commit2d8456db102e13f37a5cd271868c330d73580f6d (patch)
treee9c1c36be5bfa2ed61bea03462e1841bcde68a91 /rc/filetype/python.kak
parent266d1c37d0d970a7eff747f5e6a5773a3cea39d8 (diff)
Move user mappings to <space> and keep/remove selection to ,
Diffstat (limited to 'rc/filetype/python.kak')
-rw-r--r--rc/filetype/python.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak
index ff60297a..6444423b 100644
--- a/rc/filetype/python.kak
+++ b/rc/filetype/python.kak
@@ -160,7 +160,7 @@ define-command -hidden python-indent-on-new-line %<
# cleanup trailing whitespaces from previous line
try %{ execute-keys -draft k x s \h+$ <ret> d }
# indent after line ending with :
- try %{ execute-keys -draft <space> k x <a-k> :$ <ret> <a-K> ^\h*# <ret> j <a-gt> }
+ try %{ execute-keys -draft , k x <a-k> :$ <ret> <a-K> ^\h*# <ret> j <a-gt> }
# deindent closing brace/bracket when after cursor (for arrays and dictionaries)
try %< execute-keys -draft x <a-k> ^\h*[}\]] <ret> gh / [}\]] <ret> m <a-S> 1<a-&> >
>