From 5db972a0df12ea0c4c54c25dcff703264794a69d Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Tue, 15 Mar 2022 15:26:08 +0100 Subject: [PATCH] add CTRL-A Home as shortcut for favorite command --- dot_tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_tmux.conf b/dot_tmux.conf index ee3c274..2055146 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -125,6 +125,9 @@ 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" + # Reload tmux config unbind r bind r source-file ~/.tmux.conf \; display-message "config reloaded!"