Add tmux shortcuts for named session and named pane creation

This commit is contained in:
Tanguy Herbron 2021-03-17 14:38:01 +01:00
parent 8af1e8fc3b
commit bc4b78baf5

View File

@ -69,8 +69,11 @@ bind l select-pane -R
unbind m unbind m
unbind M unbind M
# Create window and prompt for name
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
bind-key S command-prompt -p "Name of new session: " "new-session -s '%%'"
# reload config # reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."