tmuxing it up

This commit is contained in:
Daylin Morgan 2023-05-10 01:26:04 -05:00
parent f225557bb7
commit 13d0843231
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
3 changed files with 10 additions and 4 deletions

View file

@ -20,7 +20,12 @@ bind - split-window -v -c "#{pane_current_path}"
unbind '"' unbind '"'
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 default term to xterm
set -g default-terminal "xterm-256color" set -g default-terminal "xterm-256color"

View file

@ -10,6 +10,7 @@ else
SESSION="$1" SESSION="$1"
fi fi
echo $(which tmux)
# sanitize name # sanitize name
SESSION="${SESSION:gs/\./_}" SESSION="${SESSION:gs/\./_}"

View file

@ -1,8 +1,8 @@
alias t-labbook="$DOTFILES_DIR/tmux/labbook.sh" alias t-labbook="$DOTFILES_DIR/tmux/labbook.sh"
# source custom tmux.conf with older tmux # source custom tmux.conf with older tmux
alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" # alias tmux="tmux -f $HOME/.config/tmux/tmux.conf"
alias t='tmux' # alias t='tmux'
alias ta='tmux attach -t' alias ta='tmux attach -t'
# alias tn='tmux new-session -s' # alias tn='tmux new-session -s'
alias tl='tmux list-sessions' alias tls='tmux list-sessions'