From 53a34fa0d72e0a65dfc1b74897c699aae9dfc4ea Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 28 Nov 2021 15:48:51 +0100 Subject: Use kakoune as default, and more kakoune config --- fish/.config/fish/config.fish | 4 ++-- kakoune/.config/kak/kakrc | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 9031b65..bf25e2a 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -1,7 +1,7 @@ # Vim stuff alias vim "nvim" -set -x EDITOR nvim -set -x SUDO_EDITOR nvim +set -x EDITOR kak +set -x SUDO_EDITOR kak # Other things set -x TERM xterm-256color diff --git a/kakoune/.config/kak/kakrc b/kakoune/.config/kak/kakrc index e9a3057..67e8483 100644 --- a/kakoune/.config/kak/kakrc +++ b/kakoune/.config/kak/kakrc @@ -12,8 +12,11 @@ hook global InsertChar \t %{ exec -draft -itersel h@ } set global tabstop 4 set global indentwidth 4 -map global insert 'bd' +map global insert '\S+\s*d' add-highlighter global/matching show-matching set-face global MatchingChar blue+b -add-highlighter global/nums number-lines -relative +add-highlighter global/lines number-lines -relative +add-highlighter global/tabs show-whitespaces -tab ">" -lf " " -nbsp " " -spc " " + +add-highlighter global/wrap wrap -- cgit v1.2.3