-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
32 lines (24 loc) · 836 Bytes
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
unbind C-b
set-option -g prefix C-a
set -g mouse on
# Increase the scrollback buffer max size (default 2000)
set -g history-limit 20000
# Enable true color
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -s escape-time 0
# Go to beginning of line since we control C-a
bind a send-prefix
# Splits
bind v split-window -h -c "#{pane_current_path}"
bind s split-window -v -c "#{pane_current_path}"
# Use Vim movement key mappings for switching around between panes.
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Vim style copy mode
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'V' send -X select-line
bind-key -T copy-mode-vi 'y' send -X copy-pipe 'xclip -in -selection clipboard'