From 0f4a65397def63dce9ec84ddb8897b1363e7efc3 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 8 Nov 2021 15:13:47 +0100 Subject: Setup kakoune --- kakoune/.config/kak/kakrc | 19 +++++++++++++++++++ nixhome/.config/nixpkgs/home.nix | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 kakoune/.config/kak/kakrc 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} -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 'bd' + +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 -- cgit v1.2.3