changed prefix key from C+a to F10 key

This commit is contained in:
2023-01-17 22:12:30 +01:00
parent d6d3359546
commit 3b6ce8bd86

View File

@@ -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