diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2021-04-17 18:18:43 +0200 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2021-04-17 20:56:23 +0200 |
| commit | eb3beff9591001214ae6910fd6f92651aac3eb7c (patch) | |
| tree | 1152a1787dea4a3352379353aa6502e65e349783 /rc/filetype/python.kak | |
| parent | 3ab2b98ec38018159f323919cae0a344e71046dd (diff) | |
rc: make insertion hooks more consistent
Diffstat (limited to 'rc/filetype/python.kak')
| -rw-r--r-- | rc/filetype/python.kak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index 7077b0cb..7f0e83d8 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -149,6 +149,7 @@ define-command -hidden python-insert-on-new-line %{ try %{ execute-keys -draft k <a-x> s ^\h*#\h* <ret> y jgh P } } } + define-command -hidden python-indent-on-new-line %< evaluate-commands -draft -itersel %< # preserve previous line indent |
