tmuxing it up
This commit is contained in:
parent
f225557bb7
commit
13d0843231
3 changed files with 10 additions and 4 deletions
|
@ -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"
|
||||||
|
|
|
@ -10,6 +10,7 @@ else
|
||||||
SESSION="$1"
|
SESSION="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo $(which tmux)
|
||||||
# sanitize name
|
# sanitize name
|
||||||
SESSION="${SESSION:gs/\./_}"
|
SESSION="${SESSION:gs/\./_}"
|
||||||
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue