refactor(tmux): simplify plugin list, cleanup theme template, fix installer path

- Comment out opencode/lazygit keybinds, add C-x break-pane bind
- Remove tmux-sensible and tmux.nvim plugins, add usage comments for
  remaining plugins
- Move source-file theme after tpm init
- Simplify status bar styling in themed template, drop align=centre
- Fix theme symlink path in installer (extra current/ segment)
This commit is contained in:
2026-07-10 13:35:03 -04:00
parent c2c6eea7f7
commit d3e59ea09c
3 changed files with 29 additions and 18 deletions
+20 -10
View File
@@ -75,8 +75,8 @@ bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
bind c new-window -c "#{pane_current_path}"
bind e run "tmux split -h /usr/bin/nvim"
bind o display-popup -w 80% -h 80% -E /usr/bin/opencode
bind g display-popup -w 80% -h 80% -E /usr/bin/lazygit
#bind o display-popup -w 80% -h 80% -E /usr/bin/opencode
#bind g display-popup -w 80% -h 80% -E /usr/bin/lazygit
# split windows like vim
# vim's definition of a horizontal/vertical split is reversed from tmux's
@@ -106,6 +106,7 @@ bind P pipe-pane -o "cat >>~/#W.log" \; display "Toggled logging to ~/#W.log"
# join pane
bind-key C-h choose-window 'join-pane -h -s "%%"'
bind-key C-v choose-window 'join-pane -s "%%"'
bind-key C-x break-pane
bind -r h select-pane -L
bind -r j select-pane -D
@@ -141,18 +142,27 @@ set -g status-position top
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'joshmedeski/tmux-fzf-url'
set -g @plugin 'aserowy/tmux.nvim'
set -g @plugin 'vieitesss/agent-radar'
source-file ~/.config/tmux/theme
# prefix + ctrl-f - simple file search
# prefix + ctrl-g - jumping over git status files (best used after git status command)
# prefix + alt-h - jumping over SHA-1/SHA-256 hashes (best used after git log command)
# prefix + ctrl-u - url search (http, ftp and git urls)
# prefix + ctrl-d - number search (mnemonic d, as digit)
# prefix + alt-i - ip address search
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'christoomey/vim-tmux-navigator'
# prefix + F
set -g @plugin 'sainnhe/tmux-fzf'
# prefix + u
set -g @plugin 'joshmedeski/tmux-fzf-url'
# prefix + a
set -g @plugin 'vieitesss/agent-radar'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.config/tmux/plugins/tpm/tpm'
source-file ~/.config/tmux/theme