summaryrefslogtreecommitdiff
path: root/kakoune/.config/kak/kakrc
diff options
context:
space:
mode:
Diffstat (limited to 'kakoune/.config/kak/kakrc')
-rw-r--r--kakoune/.config/kak/kakrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/kakoune/.config/kak/kakrc b/kakoune/.config/kak/kakrc
new file mode 100644
index 0000000..e9a3057
--- /dev/null
+++ b/kakoune/.config/kak/kakrc
@@ -0,0 +1,19 @@
+
+# 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-;>b<a-;>d'
+
+add-highlighter global/matching show-matching
+set-face global MatchingChar blue+b
+add-highlighter global/nums number-lines -relative