diff options
author | Julian T <julian@jtle.dk> | 2021-11-28 15:48:51 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-11-28 15:48:51 +0100 |
commit | 53a34fa0d72e0a65dfc1b74897c699aae9dfc4ea (patch) | |
tree | ab54a489590456f8c01ad3b1e9de3a63f7cc774a | |
parent | e04c6075dfe6c693933e13be863fbfe3ef4b76f8 (diff) |
Use kakoune as default, and more kakoune config
-rw-r--r-- | fish/.config/fish/config.fish | 4 | ||||
-rw-r--r-- | 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 <c-w> '<a-;>b<a-;>d' +map global insert <c-w> '<a-;><a-/>\S+\s*<ret><a-;>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 |