From b52c54e245a43f5d6d71a5f41fdaba21f87066cf Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 19 May 2026 11:17:58 +0200 Subject: New tmux bindings --- .tmux.conf | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index acd9bea..494ff40 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,7 +1,26 @@ -# Use Ctrl+F as lead key -unbind C-b +# Unbind all keys (except copy-mode) +unbind -a -T prefix +unbind -a -T root + +# Custom bindings set -g prefix C-f bind-key -n C-f send-prefix +bind-key \' split-window -v +bind-key \; split-window -h +bind-key l select-pane -R +bind-key C-l resize-pane -R +bind-key h select-pane -L +bind-key C-h resize-pane -L +bind-key j select-pane -D +bind-key C-j resize-pane -D +bind-key k select-pane -U +bind-key C-k resize-pane -U +bind-key [ copy-mode +bind-key ] paste-buffer +bind-key o new-window +bind-key n next-window +bind-key p previous-window +bind-key i break-pane # Status bar with external command set -g status-right-length 120 -- cgit v1.3