summaryrefslogtreecommitdiff
path: root/kakoune/.config/kak/kakrc
blob: 67e8483dbb00410b210534c175fd8a17541d32ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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

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'

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