From bc4b78baf55cc189ad03d486e58938ca2f4a95e6 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Wed, 17 Mar 2021 14:38:01 +0100 Subject: [PATCH] Add tmux shortcuts for named session and named pane creation --- .tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 1f275b1..b06ee19 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -69,8 +69,11 @@ bind l select-pane -R 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 S command-prompt -p "Name of new session: " "new-session -s '%%'" + # reload config bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."