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:
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