From 0be2a5b879532522cfe16f5462d393f8c31f9ab1 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 17 Feb 2025 12:19:46 +0200 Subject: [PATCH] chore(config): tmux fixes, added tms binds Signed-off-by: Ismo Vuorinen --- config/exports | 2 +- config/tmux/tmux.conf | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/exports b/config/exports index 219804c..f31e934 100755 --- a/config/exports +++ b/config/exports @@ -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 diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index b778a60..092df7e 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -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"