summaryrefslogtreecommitdiff
path: root/kakoune/.config/kak/kakrc
blob: 03930246ea6c5605bb338b793eea58c3eaf2366e (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 4
set global indentwidth 4

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