dotfiles/.config/kak/autoload/insert-mode.kak

14 lines
387 B
Text

map global insert <c-a> <home>
map global insert <c-e> <end>
# indentation
map global insert <c-.> <a-semicolon><gt>
map global insert <c-,> <a-semicolon><lt>
# autopairs
define-command -hidden insert-no-hook %{
execute-keys '<a-;>\i'
echo test
execute-keys '<esc>'
}
map global insert <a-\> '<a-;>: insert-no-hook<ret>'
map global insert <a-/> '<a-;>: insert-no-hook<ret>'