diff --git a/.config/kak/kakrc b/.config/kak/kakrc new file mode 100644 index 0000000..4bfd56f --- /dev/null +++ b/.config/kak/kakrc @@ -0,0 +1,27 @@ +## keybinds +define-command -docstring "save and quit" x "write-all; quit" + +## visual +# colorscheme +colorscheme palenight + +# scrolling & wrapping +set-option global scrolloff 1,3 +add-highlighter global/ wrap -word -indent + +# tabs +set-option global tabstop 4 +set-option global indentwidth 4 + +# statusbar +set-option global ui_options ncurses_status_on_top=true + +# line numbers +add-highlighter global/ number-lines -hlcursor + +# trailing whitespace +add-highlighter global/ regex \h+$ 0:Error + +# clipboard shit +map -docstring "yank the selection into the clipboard" global user y "xclip -sel clipboard" +map -docstring "paste the clipboard" global user p "xclip -sel clipboard -o"