From 875ee44e7caa9544c96054275edc9daad364ebf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Tue, 26 Mar 2024 19:35:03 +0100 Subject: [PATCH] feat(tmux): unbind c-b --- tmux/tmux.conf | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 144dc45..b19603e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -5,13 +5,14 @@ set -s escape-time 0 set-option -g focus-events on -set-option -g prefix2 C-s +unbind C-b +set-option -g prefix C-s bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf" set -g base-index 1 set -g status-style 'bg=#45403d fg=#d4be98' -set -g status-left-length 30 +set -g status-left-length 20 set-window-option -g mode-keys vi bind -T copy-mode-vi v send-keys -X begin-selection @@ -32,9 +33,17 @@ bind j select-pane -D bind h select-pane -L bind l select-pane -R +# sessionizer bind-key f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer" -bind-key F run-shell "tmux neww ~/.config/tmux/tmux-ssher" -bind-key T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp" bind-key R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~" +bind-key g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config" +bind-key T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp" + +# clone bind-key G run-shell "tmux neww ~/.config/tmux/tmux-ggclone" + +# ssh +bind-key F run-shell "tmux neww ~/.config/tmux/tmux-ssher" + +# project bind-key N run-shell "tmux neww ~/.config/tmux/tmux-new-project"