diff options
author | Julian T <julian@jtle.dk> | 2021-11-08 15:13:47 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-11-08 15:13:47 +0100 |
commit | 0f4a65397def63dce9ec84ddb8897b1363e7efc3 (patch) | |
tree | 4cd04d9d8fcb0da257e7f2da51cd71db6867058a | |
parent | 01415b0f6297b06fa0ef0a1ab24dcf1382285ac0 (diff) |
Setup kakoune
-rw-r--r-- | kakoune/.config/kak/kakrc | 19 | ||||
-rw-r--r-- | nixhome/.config/nixpkgs/home.nix | 2 |
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 |