summaryrefslogtreecommitdiff
path: root/kakoune/.config/kak/kakrc
blob: bb9a0049ed8071ea85dbe626319752b7c83cc4ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Lsp stuff
eval %sh{kak-lsp --kakoune -s %kak_session}

lsp-enable
map global user l %{: enter-user-mode lsp<ret>} -docstring "LSP mode"
# lsp-auto-hover-enable

# General stuff
colorscheme gruvbox-dark

hook global InsertChar \t %{ exec -draft -itersel h@ }
set global tabstop 2
set global indentwidth 2

map global insert <c-w> '<a-;><a-/>\S+\s*<ret><a-;>d'
map global insert <tab> '.<a-;>><backspace>'

add-highlighter global/matching show-matching
set-face global MatchingChar blue+b
add-highlighter global/lines number-lines -relative
add-highlighter global/tabs show-whitespaces -tab ">" -lf " " -nbsp " " -spc " "

add-highlighter global/wrap wrap