From c99f711fe092f3137c1b46c34994145d067f760e Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 6 Feb 2024 13:38:25 -0700 Subject: [PATCH] alter some omni-tmux bindings to better suit standard workflows --- scwrypts/ssh/omni/tmux.conf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scwrypts/ssh/omni/tmux.conf b/scwrypts/ssh/omni/tmux.conf index 7c4f067..8cc610a 100644 --- a/scwrypts/ssh/omni/tmux.conf +++ b/scwrypts/ssh/omni/tmux.conf @@ -14,16 +14,16 @@ set -g status-right "omni host : #(hostnamectl --static) | #(cat # navigate between hosts with ALT+window-number set -g base-index 1 -bind-key -n M-1 select-window -t 1 -bind-key -n M-2 select-window -t 2 -bind-key -n M-3 select-window -t 3 -bind-key -n M-4 select-window -t 4 -bind-key -n M-5 select-window -t 5 -bind-key -n M-6 select-window -t 6 -bind-key -n M-7 select-window -t 7 -bind-key -n M-8 select-window -t 8 -bind-key -n M-9 select-window -t 9 -bind-key -n M-0 select-window -t 10 +bind-key 2 select-window -t 1 +bind-key 2 select-window -t 2 +bind-key 3 select-window -t 3 +bind-key 4 select-window -t 4 +bind-key 5 select-window -t 5 +bind-key 6 select-window -t 6 +bind-key 7 select-window -t 7 +bind-key 8 select-window -t 8 +bind-key 9 select-window -t 9 +bind-key 0 select-window -t 10 # window / tile navigation settings from $DOTWRYN/config/tmux.conf # but default to nested session rather than host @@ -61,8 +61,8 @@ bind-key -n M-Q kill-session unbind-key C-b bind-key C-b send-prefix -set-option -g prefix C-s -bind-key C-s send-keys C-s +set-option -g prefix M-s +bind-key M-s send-keys M-s # force reload now bind-key -n M-R send-keys -t omni-manager ENTER