Prevent the hook from wrapping the next line when the cursor is at the end of the current line
This commit is contained in:
parent
55f6ca7431
commit
926e628a36
|
@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user