1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 10:32:19 +03:00

Prevent the hook from wrapping the next line when the cursor is at the end of the current line

This commit is contained in:
Frank LENORMAND 2015-08-02 11:25:06 +03:00
parent 55f6ca7431
commit 926e628a36

View File

@ -23,7 +23,7 @@ def autowrap-selection %{
def autowrap-enable %{
hook -group autowrap window InsertChar [^\n] %{
try %{
exec -draft "x:autowrap-selection<ret>"
exec -draft "<a-x>:autowrap-selection<ret>"
}
}
}