summaryrefslogtreecommitdiff
path: root/kakoune
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-11-08 15:13:47 +0100
committerJulian T <julian@jtle.dk>2021-11-08 15:13:47 +0100
commit0f4a65397def63dce9ec84ddb8897b1363e7efc3 (patch)
tree4cd04d9d8fcb0da257e7f2da51cd71db6867058a /kakoune
parent01415b0f6297b06fa0ef0a1ab24dcf1382285ac0 (diff)
Setup kakoune
Diffstat (limited to 'kakoune')
-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