-
Notifications
You must be signed in to change notification settings - Fork 719
Avoid the escape key
losnappas edited this page Nov 19, 2024
·
6 revisions
Unlike Vim, there is no delay to insert j or the stress to type quickly because of timeout.
hook global InsertChar j %{ try %{
exec -draft hH <a-k>jj<ret> d
exec -with-hooks <esc>
}}
For using jk
to exit insert mode use the following snippet.
hook global InsertChar k %{ try %{
exec -draft hH <a-k>jk<ret> d
exec -with-hooks <esc>
}}
hook global InsertChar \. %{ try %{
exec -draft hH <a-k>,\.<ret> d
exec -with-hooks <esc>
}}
- Normal mode commands
- Avoid the escape key
- Implementing user mode (Leader key)
- Kakoune explain
- Kakoune TV