···2233## Plugin Installation After Stow
4455-When you stow tmux configuration, the `~/.tmux/plugins` directory may be empty but still exist, which prevents proper plugin installation.
55+When you stow tmux configuration, the `~/.config/tmux/plugins` directory may be empty but still exist, which prevents proper plugin installation.
6677**Run this command after stowing tmux:**
8899```bash
1010-rm -rf ~/.tmux/plugins && tmux new-session -d && tmux kill-session
1010+rm -rf ~/.config/tmux/plugins && tmux new-session -d && tmux kill-session
1111```
12121313**Then install TPM (Tmux Plugin Manager) first:**
···1515Run this command to install TPM and all plugins:
16161717```bash
1818-mkdir -p ~/.tmux/plugins
1919-git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm 2>/dev/null || true
2020-~/.tmux/plugins/tpm/bin/install_plugins
1818+mkdir -p ~/.config/tmux/plugins
1919+git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm 2>/dev/null || true
2020+~/.config/tmux/plugins/tpm/bin/install_plugins
2121```
22222323After TPM is installed, you can use `Ctrl+t` followed by `I` for future plugin installations.
+9-9
tmux/.config/tmux/tmux.conf
···105105bind-key -n M-b switch-client -t sspaeti-blog-brain-hugo:brain
106106bind-key -n M-p switch-client -t dedp-book:writing
107107bind-key -n M-w switch-client -t writing-ssp-data:rill
108108-bind-key -n M-t run-shell -b "~/.tmux/tmux-switch-session.sh"
108108+bind-key -n M-t run-shell -b "~/.config/tmux/tmux-switch-session.sh"
109109bind-key -n M-s display-popup -E -w 40% "sesh connect \"$(sesh list -i | gum filter --limit 1 --placeholder 'Pick a sesh' --prompt='⚡')\""
110110111111# set switching between last active tabs forth and back
···134134# fzf behaviour: bind search to fzf
135135136136# easily switch session with ctrl+s
137137-bind-key s run-shell -b "~/.tmux/tmux-switch-session.sh"
137137+bind-key s run-shell -b "~/.config/tmux/tmux-switch-session.sh"
138138# run without tmux prefix too
139139-bind-key -n C-s run-shell -b "~/.tmux/tmux-switch-session.sh"
140140-bind-key t run-shell -b "~/.tmux/tmux-switch-session.sh"
141141-bind-key C-t run-shell -b "~/.tmux/tmux-switch-session.sh"
139139+bind-key -n C-s run-shell -b "~/.config/tmux/tmux-switch-session.sh"
140140+bind-key t run-shell -b "~/.config/tmux/tmux-switch-session.sh"
141141+bind-key C-t run-shell -b "~/.config/tmux/tmux-switch-session.sh"
142142# unbind due to conflict with changing sessions
143143unbind C-s
144144# open new session from my git repository
145145-bind-key a run-shell -b "~/.tmux/tmux-switch-session-git.sh"
145145+bind-key a run-shell -b "~/.config/tmux/tmux-switch-session-git.sh"
146146147147#run sesh to open new on s
148148bind-key "S" display-popup -E -w 40% "sesh connect \"$(
···204204#bind-key -n sh if-shell "$is_vim" "send-keys sh" "select-pane -L"
205205206206#source status line theme for tmux:
207207-source-file ~/.tmux/themes/tmux-kanagawa-dark.conf
207207+source-file ~/.config/tmux/themes/tmux-kanagawa-dark.conf
208208209209# able to refresh tmux config with "Ctrl-t" and then "r":
210210#unbind r
211211-bind r source-file ~/.tmux.conf
211211+bind r source-file ~/.config/tmux/tmux.conf
212212213213214214# remove hostname: overwritten by tmux-continuum: check with `tmux show-option -gqv "status-right"`
···216216set -g status-right '#[bg=colour237,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237]'
217217218218# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
219219-run '~/.tmux/plugins/tpm/tpm'
219219+run '~/.config/tmux/plugins/tpm/tpm'