From 5522301fc226517cd6e76cc56748cd8a54f6993b Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Thu, 12 Sep 2019 02:36:59 -0400 Subject: [PATCH] tmux: add M-n keys for selecting windows --- applications/tmux.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/applications/tmux.conf b/applications/tmux.conf index f75d42d..33de3c4 100644 --- a/applications/tmux.conf +++ b/applications/tmux.conf @@ -1,6 +1,6 @@ # set up terminal set -g default-terminal "screen-256color" -set-option -ga terminal-overrides ",xterm-256color*:Tc:smso=" +set -ga terminal-overrides ",xterm-256color*:Tc:smso=" # set up status bar set -g status-right '#[bg=#241d29]#{pane_title}' @@ -25,6 +25,11 @@ bind -n M-Down select-pane -D bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U +bind -n M-1 select-window -t0 +bind -n M-2 select-window -t1 +bind -n M-3 select-window -t2 +bind -n M-4 select-window -t3 +bind -n M-5 select-window -t4 # set prefix unbind C-b