This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/kak/keys.kak

35 lines
983 B
Plaintext
Raw Normal View History

2020-11-14 20:53:21 +01:00
# {{@@ header() @@}}
2021-02-13 20:12:10 +01:00
map global normal <F2> ': lsp-rename-prompt<ret>'
2020-12-06 01:26:01 +01:00
######################################################
# Emacs-like insert
######################################################
map global insert <c-b> "<a-;>h"
map global insert <c-f> "<a-;>l"
map global insert <a-b> "<a-;>b"
map global insert <a-f> "<a-;>w"
map global insert <c-a> "<a-;>gi"
2021-08-27 16:51:55 +02:00
map global insert <c-e> "<a-;>gh<a-;>gl<right>"
2020-12-06 01:26:01 +01:00
map global insert <c-w> "<a-;>b<a-;>d"
2020-12-14 02:34:55 +01:00
######################################################
# Other insert binds
######################################################
map global insert <a-k> "<esc>"
2022-02-07 21:54:54 +01:00
map global insert <c-t> "<esc>"
2021-04-18 19:56:27 +02:00
######################################################
# Objects
######################################################
map global object m %{c^[<lt>=|]{4\,}[^\n]*\n,^[<gt>=|]{4\,}[^\n]*\n<ret>} -docstring 'git conflict markers'
map global object M %{c^<lt>{4\,}[^\n]*\n,^<gt>{4\,}[^\n]*\n<ret>} -docstring 'git conflict'