From c020f8314be55e4eee79999baeeb57338db043b4 Mon Sep 17 00:00:00 2001 From: Tucker McKnight Date: Thu, 20 Feb 2025 00:04:47 -0700 Subject: [PATCH] symlinks are a no-no --- .tmux.conf | 20 ++++++++++++++ kak | 1 - kak/autoload/detection | 1 + kak/autoload/filetype | 1 + kak/autoload/tmux | 1 + kak/autoload/tools | 1 + kak/autoload/windowing | 1 + kak/colors/base16-kakoune | 1 + kak/kakrc | 33 ++++++++++++++++++++++++ kak/plugins/.build/base16-kakoune/config | 19 ++++++++++++++ kak/plugins/.build/base16-kakoune/hooks | 2 ++ tmux.conf | 1 - 12 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 .tmux.conf delete mode 120000 kak create mode 120000 kak/autoload/detection create mode 120000 kak/autoload/filetype create mode 160000 kak/autoload/tmux create mode 120000 kak/autoload/tools create mode 120000 kak/autoload/windowing create mode 120000 kak/colors/base16-kakoune create mode 100644 kak/kakrc create mode 100644 kak/plugins/.build/base16-kakoune/config create mode 100644 kak/plugins/.build/base16-kakoune/hooks delete mode 120000 tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..e154c32 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,20 @@ +set -s escape-time 0 + +# set -g pane-active-border-style fg=#839496 + +# light colorscheme +# set -g pane-border-style fg=#fdf6e3 + +# dark colorscheme +# set -g pane-border-style fg=#002b36 + +set-option -g focus-events on +# remap prefix +unbind C-b +set -g prefix C-Space +bind C-Space send-prefix + +bind h select-pane -L +bind l select-pane -R +bind j select-pane -U +bind k select-pane -D diff --git a/kak b/kak deleted file mode 120000 index 8f62830..0000000 --- a/kak +++ /dev/null @@ -1 +0,0 @@ -/Users/tmcknight/.config/kak \ No newline at end of file diff --git a/kak/autoload/detection b/kak/autoload/detection new file mode 120000 index 0000000..5ab1964 --- /dev/null +++ b/kak/autoload/detection @@ -0,0 +1 @@ +/usr/local/share/kak/autoload/detection \ No newline at end of file diff --git a/kak/autoload/filetype b/kak/autoload/filetype new file mode 120000 index 0000000..6b019f1 --- /dev/null +++ b/kak/autoload/filetype @@ -0,0 +1 @@ +/usr/local/share/kak/autoload/filetype \ No newline at end of file diff --git a/kak/autoload/tmux b/kak/autoload/tmux new file mode 160000 index 0000000..716d8a4 --- /dev/null +++ b/kak/autoload/tmux @@ -0,0 +1 @@ +Subproject commit 716d8a49be26b6c2332ad4f3c5342e485e02dff4 diff --git a/kak/autoload/tools b/kak/autoload/tools new file mode 120000 index 0000000..2c5b3e1 --- /dev/null +++ b/kak/autoload/tools @@ -0,0 +1 @@ +/usr/local/share/kak/autoload/tools \ No newline at end of file diff --git a/kak/autoload/windowing b/kak/autoload/windowing new file mode 120000 index 0000000..557fdd4 --- /dev/null +++ b/kak/autoload/windowing @@ -0,0 +1 @@ +/usr/local/share/kak/autoload/windowing \ No newline at end of file diff --git a/kak/colors/base16-kakoune b/kak/colors/base16-kakoune new file mode 120000 index 0000000..82b0554 --- /dev/null +++ b/kak/colors/base16-kakoune @@ -0,0 +1 @@ +/Users/tmcknight/.config/kak/plugins/base16-kakoune \ No newline at end of file diff --git a/kak/kakrc b/kak/kakrc new file mode 100644 index 0000000..9140e13 --- /dev/null +++ b/kak/kakrc @@ -0,0 +1,33 @@ +source "%val{config}/plugins/plug.kak/rc/plug.kak" +plug "andreyorst/plug.kak" noload + +eval %sh{ kks init } + +plug "tinted-theming/base16-kakoune" theme config %{ + colorscheme solarized-dark +} +map global normal -docstring 'files' ': kks-connect terminal-window kks-files' +map global normal -docstring 'buffers' ': kks-connect terminal-window kks-buffers' + +map global normal ': terminal-popup char_count.rb %val{selection}' +map global normal / '/(?i)' +# hook global ModeChange .*:insert:.* %{ try %{ +# write +# } } +# +# hook global NormalIdle .* %{ try %{ +# write +# } } +# +# hook global FocusOut .* %{ try %{ +# write +# } } + +hook global InsertChar \t %{ exec -draft -itersel h@ } +set global tabstop 2 +set global indentwidth 2 +set global scrolloff 6,12 +add-highlighter global/ wrap +add-highlighter global/ number-lines +add-highlighter global/ show-matching + diff --git a/kak/plugins/.build/base16-kakoune/config b/kak/plugins/.build/base16-kakoune/config new file mode 100644 index 0000000..c012df3 --- /dev/null +++ b/kak/plugins/.build/base16-kakoune/config @@ -0,0 +1,19 @@ +try %{ + + colorscheme solarized-dark + } catch %{ + echo -debug "Error while evaluating 'base16-kakoune' configuration: %val{error}" + + set-option -add current plug_conf_errors "Error while evaluating 'base16-kakoune' configuration:" + set-option -add current plug_conf_errors %sh{ printf "\n " } + set-option -add current plug_conf_errors %val{error} + set-option -add current plug_conf_errors %sh{ printf "\n\n" } + + hook -once -group plug-conf-err global WinDisplay .* %{ + info -style modal -title "plug.kak error" "%opt{plug_conf_errors}" + on-key %{ + info -style modal + execute-keys -with-maps -with-hooks %val{key} + } + } +} diff --git a/kak/plugins/.build/base16-kakoune/hooks b/kak/plugins/.build/base16-kakoune/hooks new file mode 100644 index 0000000..b53e270 --- /dev/null +++ b/kak/plugins/.build/base16-kakoune/hooks @@ -0,0 +1,2 @@ + +[ -d "/Users/tmcknight/.config/kak/colors" ] || mkdir -p "/Users/tmcknight/.config/kak/colors"; ln -sf "$PWD" "/Users/tmcknight/.config/kak/colors" \ No newline at end of file diff --git a/tmux.conf b/tmux.conf deleted file mode 120000 index 9ccd127..0000000 --- a/tmux.conf +++ /dev/null @@ -1 +0,0 @@ -/Users/tmcknight/.tmux.conf \ No newline at end of file