add keybinds for faster switching between windows
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
set -g escape-time 0
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g history-limit 50000
|
||||
set -g display-time 3000
|
||||
set -g status-interval 5
|
||||
|
||||
# Start indexes at 1 instead of 0
|
||||
set -g base-index 1
|
||||
@@ -17,6 +19,10 @@ set -g prefix C-a
|
||||
unbind C-b
|
||||
bind-key C-a send-prefix
|
||||
|
||||
# Ctrl+A, then Ctrl+C, p/n to cycle windows (faster, can just hold ctrl)
|
||||
bind C-p previous-window
|
||||
bind C-n next-window
|
||||
|
||||
# Split windows with | and -
|
||||
unbind %
|
||||
bind | split-window -h
|
||||
|
||||
Reference in New Issue
Block a user