summaryrefslogtreecommitdiffstats
path: root/.tmux.conf
blob: 46a744e17572bb096d3b2b9221fad3e97d8e5af7 (plain) (blame)
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
# set -g default-terminal "xterm-256color"

# vi is good
setw -g mode-keys vi

# mouse behavior
set-option -g mouse on

# start indexing from 1 not 0
set -g base-index 1
set -g pane-base-index 1

# Scroll History
set -g history-limit 30000

# Set ability to capture on start and restore on exit window data when running an application
setw -g alternate-screen on

# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50

# Allow the arrow key to be used immediately after changing windows
set-option -g repeat-time 0

# Allow copy like vim
bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard'