From 13d0843231c8b9d668520a2e1b955c27aeb9f88e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 10 May 2023 01:26:04 -0500 Subject: [PATCH] tmuxing it up --- home/private_dot_config/tmux/tmux.conf | 7 ++++++- home/private_dot_config/zsh/functions/tn-ws | 1 + home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/home/private_dot_config/tmux/tmux.conf b/home/private_dot_config/tmux/tmux.conf index 10778d7..b561bc3 100644 --- a/home/private_dot_config/tmux/tmux.conf +++ b/home/private_dot_config/tmux/tmux.conf @@ -20,7 +20,12 @@ bind - split-window -v -c "#{pane_current_path}" unbind '"' unbind % -bind s display-popup -h 60% -w 60% -B -e FZF_DEFAULT_OPTS="${FZF_DEFAULT_OPTS} --height=100%" -E "tsm" +bind g display-popup -E "echo hello; sleep 5" + +bind s display-popup \ + -h 60% -w 60% \ + -B -e FZF_DEFAULT_OPTS="${FZF_DEFAULT_OPTS} --height=100%" \ + -E "tsm" # Set default term to xterm set -g default-terminal "xterm-256color" diff --git a/home/private_dot_config/zsh/functions/tn-ws b/home/private_dot_config/zsh/functions/tn-ws index 22deb8a..7b17bd1 100644 --- a/home/private_dot_config/zsh/functions/tn-ws +++ b/home/private_dot_config/zsh/functions/tn-ws @@ -10,6 +10,7 @@ else SESSION="$1" fi +echo $(which tmux) # sanitize name SESSION="${SESSION:gs/\./_}" diff --git a/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh b/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh index 40eede2..b9920a5 100644 --- a/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh +++ b/home/private_dot_config/zsh/zexists.d/cmd/tmux.zsh @@ -1,8 +1,8 @@ alias t-labbook="$DOTFILES_DIR/tmux/labbook.sh" # source custom tmux.conf with older tmux -alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" -alias t='tmux' +# alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" +# alias t='tmux' alias ta='tmux attach -t' # alias tn='tmux new-session -s' -alias tl='tmux list-sessions' +alias tls='tmux list-sessions'