mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-21 02:21:32 +03:00
0da5cabbfe
That way, insert mode knows when it can restore selections/avoid eol instead of (wrongly) doing it in the destructor that ends up running unpredictibly (as the mode is kept alive during its on_key call, even though it can happen that it is not the active mode anymore at the end of that call). Fixes #1580
2 lines
66 B
Plaintext
2 lines
66 B
Plaintext
hook global InsertChar \n %{ exec -draft k<a-gt>; exec <esc>kA; }
|