Some more small kak setups

- Add kakoune-focus
- Fix some kakrc comments
This commit is contained in:
Natsu Kagami 2022-07-07 15:17:14 -04:00 committed by Natsu Kagami
parent d0e5f73def
commit 63283d0a51
3 changed files with 23 additions and 7 deletions

View file

@ -64,12 +64,12 @@ define-command -params 0 -docstring "Copy line down" copyline %{
execute-keys -draft 'xy'%val{count}'P'
}
map global normal <+> -docstring "Copy line down" ': copyline<ret>'
define-command -params 0 -docstring "Delete current character" delete-one %{
define-command -params 0 -docstring "Delete current pair of brackets" delete-current-brackets %{
execute-keys 'm<a-:>'
execute-keys -draft '<a-S>d'
execute-keys 'H'
}
map global normal D ": delete-one<ret>"
map global normal D ": delete-current-brackets<ret>"
# Disable write-to
# unalias global w
@ -125,7 +125,7 @@ hook global WinSetOption filetype=(rust) %{
lsp-inlay-hints-enable window
}
hook global WinSetOption filetype=(rust|go|fsharp) %{
hook global WinSetOption filetype=(rust|go|fsharp|haskell) %{
hook window -group semantic-tokens BufReload .* lsp-semantic-tokens
hook window -group semantic-tokens NormalIdle .* lsp-semantic-tokens
hook window -group semantic-tokens InsertIdle .* lsp-semantic-tokens