aboutsummaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
blob: 26ba6d4330ba1259d97c985a5ba0577cda5c3515 (plain)
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
set -g default-terminal "tmux-256color"

# Remove nasty escape time
set -sg escape-time 0

# Enable mouse scroll
setw -g mouse on

# Use C-a as prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

# Split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'

# Copy
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'nbind %

# Vi mode
set-window-option -g mode-keys vi

set -g main-pane-width 156

# Plugins
set -g @plugin 'christoomey/vim-tmux-navigator'

# Initialize Tmux Plugin Manager
run '~/.tmux/plugins/tpm/tpm'