diff options
Diffstat (limited to 'rc/core/python.kak')
| -rw-r--r-- | rc/core/python.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/core/python.kak b/rc/core/python.kak index fac94ae1..fb9477b9 100644 --- a/rc/core/python.kak +++ b/rc/core/python.kak @@ -143,6 +143,6 @@ hook -group python-highlight global WinSetOption filetype=python %{ hook global WinSetOption filetype=python %{ hook window InsertChar \n -group python-indent python-indent-on-new-line # cleanup trailing whitespaces on current line insert end - hook window ModeChange insert:.* -group python-indent %{ try %{ execute-keys -draft \; <a-x> s ^\h+$ <ret> d } } + hook window ModeChange insert:.* -group python-trim-indent %{ try %{ execute-keys -draft \; <a-x> s ^\h+$ <ret> d } } hook -once -always window WinSetOption filetype=.* %{ remove-hooks window python-.+ } } |
