|
|
@@ -1,15 +1,17 @@ |
|
|
|
# tmux.conf |
|
|
|
|
|
|
|
if "test -f $HOME/.tmux.conf.local" "source-file $HOME/.tmux.conf.local" \ |
|
|
|
"display-message \"$HOME/.tmux.conf.local not found\"" |
|
|
|
"display-message \"$HOME/.tmux.conf.local not found\"" |
|
|
|
|
|
|
|
unbind C-b |
|
|
|
set -g prefix C-z |
|
|
|
bind C-z send-prefix |
|
|
|
bind C-c command-prompt "new-window '%%'" |
|
|
|
bind C-r source-file ~/.tmux.conf \; display-message "Reloaded config !" |
|
|
|
bind C-s command-prompt -p "prompt name:" \ |
|
|
|
"new-session -t '%1'; switch-client -t '%1'" |
|
|
|
# new-session: -A: "behaves like attach-session if session-name already exists" |
|
|
|
# -d: do not attach the created session |
|
|
|
bind C-s command-prompt -p "session name:" \ |
|
|
|
"new-session -Ad -s '%1'\; switch-client -t '%1'" |
|
|
|
|
|
|
|
set -g base-index 1 |
|
|
|
set -g pane-base-index 1 |
|
|
|