fixes
This commit is contained in:
parent
20b4d02267
commit
189ebfdabd
1 changed files with 22 additions and 1 deletions
23
tmux.conf
23
tmux.conf
|
@ -13,6 +13,17 @@ set -g mouse on
|
|||
# Set the prefix key to C-Space instead of default C-b
|
||||
unbind C-b
|
||||
|
||||
unbind C-1
|
||||
unbind C-2
|
||||
unbind C-3
|
||||
unbind C-4
|
||||
unbind C-5
|
||||
unbind C-6
|
||||
unbind C-7
|
||||
unbind C-8
|
||||
unbind C-9
|
||||
unbind C-0
|
||||
|
||||
# ─< set the prefix to "C-Space" >────────────────────────────────────────────────────────
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
|
@ -21,6 +32,17 @@ bind h copy-mode
|
|||
set -g visual-activity on
|
||||
set -g visual-bell on
|
||||
set -g status-keys vi
|
||||
|
||||
bind-key -n C-1 select-window -t :1
|
||||
bind-key -n C-1 select-window -t :2
|
||||
bind-key -n C-3 select-window -t :3
|
||||
bind-key -n C-4 select-window -t :4
|
||||
bind-key -n C-5 select-window -t :5
|
||||
bind-key -n C-1 select-window -t :6
|
||||
bind-key -n C-7 select-window -t :7
|
||||
bind-key -n C-8 select-window -t :8
|
||||
bind-key -n C-9 select-window -t :9
|
||||
|
||||
# ─< set v for starting selection in copy mode >──────────────────────────────────────────
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
|
||||
|
@ -32,7 +54,6 @@ bind -n C-h select-pane -L
|
|||
bind -n C-l select-pane -R
|
||||
bind -n C-f resize-pane -Z
|
||||
|
||||
|
||||
# Ensure that when prefix is pressed, the mode indicator is shown
|
||||
set -g mode-keys vi # Use vi keybindings in copy mode
|
||||
set -g status-left-length 30 # Limit length of the left status line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue