summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fish/.config/fish/config.fish4
-rw-r--r--kakoune/.config/kak/kakrc7
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