Move kakoune module
This commit is contained in:
parent
a4494d86d4
commit
05396972fa
12 changed files with 10 additions and 10 deletions
39
user/kakoune/keys.kak
Normal file
39
user/kakoune/keys.kak
Normal file
|
@ -0,0 +1,39 @@
|
|||
# {{@@ header() @@}}
|
||||
|
||||
# For colemak, this is pretty confortable, C-n = down, C-u = up
|
||||
map global normal <c-u> 10k
|
||||
map global normal <c-n> 10j
|
||||
|
||||
# alt i makes searches case insensitive
|
||||
map global prompt <a-i> '<c-a>(?i)<c-e>'
|
||||
|
||||
######################################################
|
||||
# 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"
|
||||
map global insert <c-e> "<a-;>gh<a-;>gl<right>"
|
||||
map global insert <c-w> "<a-;>b<a-;>d"
|
||||
|
||||
|
||||
######################################################
|
||||
# Other insert binds
|
||||
######################################################
|
||||
|
||||
map global insert <a-k> "<esc>"
|
||||
map global insert <c-t> "<esc>"
|
||||
|
||||
|
||||
######################################################
|
||||
# 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'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue