Add tmux shortcuts for named session and named pane creation
This commit is contained in:
parent
8af1e8fc3b
commit
bc4b78baf5
@ -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..."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user