Merge remote-tracking branch 'lenormf/rc/autowrap.kak'

This commit is contained in:
Maxime Coste 2016-03-14 08:56:23 +00:00
commit 22109ce677

View File

@ -7,7 +7,7 @@ def -hidden _autowrap-cut-selection %{
try %{
# remove the whitespaces
# then save the indentation of the original line and apply it to the new one
exec -draft c<ret><esc> K <a-s> \' <a-&>
exec -draft c<ret><esc> K <a-&>
# if there's text after the current line, merge the two
exec xX <a-k>[^\n]\n[^\n]<ret> <a-j>
}