chore(config): tmux fixes, added tms binds

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-02-17 12:19:46 +02:00
parent 8c015ac251
commit 0be2a5b879
2 changed files with 8 additions and 2 deletions

View File

@@ -465,7 +465,7 @@ export TMUX_CONF_DIR="$XDG_CONFIG_HOME/tmux"
export TMUX_PLUGINS="$TMUX_CONF_DIR/plugins"
export TMUX_CONF="$TMUX_CONF_DIR/tmux.conf"
## These settings are for zsh-tmux
export ZSH_TMUX_AUTOSTART=false
export ZSH_TMUX_AUTOSTART=true
export ZSH_TMUX_CONFIG="$TMUX_CONF"
export ZSH_TMUX_UNICODE=true
export ZSH_TMUX_AUTOQUIT=false

View File

@@ -95,6 +95,11 @@ bind Escape copy-mode
unbind p
bind p paste-buffer
# tms bindings
bind C-f display-popup -E "tms"
bind C-w display-popup -E "tms windows"
bind C-s display-popup -E "tms switch"
bind C-r display-popup -E "tms refresh"
# ╭──────────────────────────────────────────────────────────╮
# │ Plugins │
@@ -142,7 +147,6 @@ run-shell "$HOME/.config/tmux/plugins/tmux-continuum/continuum.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-sessionist/sessionist.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-yank/yank.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-dark-notify/main.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-fzf-url/fzf-url.tmux"
@@ -153,3 +157,5 @@ run-shell "$HOME/.config/tmux/theme-activate.sh"
# If we started tmux with a session name, rename it.
run-shell "$HOME/.config/tmux/rename-session.sh"
run-shell "$HOME/.config/tmux/plugins/tmux-dark-notify/main.tmux"