From 48e36c92d3fb0e69a9db50c2cc6c260e5333efba Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Mon, 4 Jul 2022 11:02:56 +0200 Subject: [PATCH] Add one more shortcut --- dot_tmux.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dot_tmux.conf b/dot_tmux.conf index 3cc7f78..78bb00e 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -109,8 +109,12 @@ if -b '[ -c /dev/clipboard ]' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe bind-key / swap-window -t -1 bind-key * swap-window -t +1 -# define keystroke to send favorite command defined as env var -bind-key Home send-keys "$FAVORITE_COMMAND" +# define keystrokes to send favorite commands defined as env var +# ALT-SHIFT- +bind-key M-1 send-keys "$FAVORITE_COMMAND1" +bind-key M-2 send-keys "$FAVORITE_COMMAND2" +bind-key M-3 send-keys "$FAVORITE_COMMAND3" +bind-key M-4 send-keys "$FAVORITE_COMMAND4" # Reload tmux config unbind r