21 lines
580 B
Text
21 lines
580 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>
|
|
|
|
map global insert <c-b> <a-semicolon>bi
|
|
map global insert <c-w> <a-semicolon>wi
|
|
|
|
define-command -hidden insert-char-no-hook %{
|
|
execute-keys '<a-;>\i'
|
|
hook -always -once window InsertChar .* %{
|
|
execute-keys '<esc>'
|
|
}
|
|
}
|
|
define-command -hidden insert-no-hook %{
|
|
execute-keys '<a-;>\i'
|
|
}
|
|
|
|
map global insert <a-/> '<a-;>: insert-char-no-hook<ret>'
|
|
map global insert <a-\> '<a-;>: insert-no-hook<ret>'
|