feat(tmux): enable mouse support and add workmux status popup
This commit is contained in:
@@ -22,6 +22,8 @@ set -as terminal-feature ",foot*:RGB"
|
|||||||
setenv -g SSH_AUTH_SOCK "$HOME/.ssh/ssh_auth_sock"
|
setenv -g SSH_AUTH_SOCK "$HOME/.ssh/ssh_auth_sock"
|
||||||
set -g update-environment "DISPLAY XAUTHORITY"
|
set -g update-environment "DISPLAY XAUTHORITY"
|
||||||
|
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
# default shell
|
# default shell
|
||||||
set -g default-shell "/usr/bin/fish"
|
set -g default-shell "/usr/bin/fish"
|
||||||
|
|
||||||
@@ -82,6 +84,8 @@ bind e run "tmux split -h /usr/bin/nvim"
|
|||||||
#bind o display-popup -w 80% -h 80% -E /usr/bin/opencode
|
#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 g display-popup -w 80% -h 80% -E /usr/bin/lazygit
|
||||||
|
|
||||||
|
bind a display-popup -w 80% -h 80% "workmux status --git"
|
||||||
|
|
||||||
# split windows like vim
|
# split windows like vim
|
||||||
# vim's definition of a horizontal/vertical split is reversed from tmux's
|
# vim's definition of a horizontal/vertical split is reversed from tmux's
|
||||||
bind v split-window -h -c "#{pane_current_path}"
|
bind v split-window -h -c "#{pane_current_path}"
|
||||||
@@ -165,7 +169,7 @@ set -g @plugin 'sainnhe/tmux-fzf'
|
|||||||
# prefix + u
|
# prefix + u
|
||||||
set -g @plugin 'joshmedeski/tmux-fzf-url'
|
set -g @plugin 'joshmedeski/tmux-fzf-url'
|
||||||
# prefix + a
|
# prefix + a
|
||||||
set -g @plugin 'vieitesss/agent-radar'
|
# set -g @plugin 'vieitesss/agent-radar'
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
run '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user