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>"
}
}
}