summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kakoune/.config/kak/kakrc19
-rw-r--r--nixhome/.config/nixpkgs/home.nix2
2 files changed, 20 insertions, 1 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
diff --git a/nixhome/.config/nixpkgs/home.nix b/nixhome/.config/nixpkgs/home.nix
index 7ab983a..221fadb 100644
--- a/nixhome/.config/nixpkgs/home.nix
+++ b/nixhome/.config/nixpkgs/home.nix
@@ -16,7 +16,7 @@ in {
# Developing
gcc go clang-tools unstable.haskell-language-server
- gdb php unstable.ghc stack racket chez rustc cargo rls
+ gdb php unstable.ghc stack racket chez rustc cargo rls kak-lsp
# Email and calendar
evolution gnome3.gnome-calendar evolution-data-server evolution-ews