From 3b6ce8bd868f5faefb83dad9ada9218a2f997830 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Tue, 17 Jan 2023 22:12:30 +0100 Subject: [PATCH] changed prefix key from C+a to F10 key --- tmux/tmux.conf | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index d4435e7..125adf4 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,15 +1,13 @@ -# remap previx from 'C-b' to 'C-a' -unbind C-b -set-option -g prefix C-a -bind-key C-a send-prefix -set -g default-terminal "xterm-256color" +# remap previx from 'C-b' to 'F10' and should +# map caps-lock to F10 +unbind-key C-b +set-option -g prefix F10 +bind-key F10 send-prefix -# switch panes using Alt-arrow without prefix -bind -n M-Left select-pane -L -bind -n M-Right select-pane -R -bind -n M-Up select-pane -U -bind -n M-Down select-pane -D +# Remove delay +set -s escape-time 1 # scroll window buffer history, not commands history set -g mouse on +