workstation/roles/home-cli/files/tmux.conf

17 lines
641 B
Text
Raw Normal View History

bind-key C command-prompt -p "Execute:" "new-window '%1'"
bind-key M-'"' command-prompt -p "Execute:" "split-window '%1'"
bind-key M-% command-prompt -p "Execute:" "split-window -h '%1'"
bind-key R source-file "${HOME}/.tmux.conf"
bind-key S command-prompt -p "Move to:" "swap-pane -s. -t%1 \; select-pane -t%1"
set -g base-index 1
set -g default-command "$SHELL"
set -g default-terminal "screen-256color"
set -g display-panes-time 5000
set -g pane-base-index 1
set -g status-right ''
set-window-option -g xterm-keys on
2020-04-28 07:52:58 +00:00
# RHEL 7 still ships with version 1.8
if-shell -b '[ "$(echo "$TMUX_VERSION >= 2.1" | bc)" = 1 ]' \
"set -g mouse on"