summaryrefslogtreecommitdiff
path: root/public/tmux/.tmux.conf
blob: 1ace9472d9945356875f98c8780f6c082a3f4ca4 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Enable mouse mode
set -g mouse on
set -g focus-events on

# scrollback buffer
set-option -g history-limit 3000000

# 10ms escape time
set-option -sg escape-time 10

# Don't rename windows automatically
set-option -g allow-rename off

# Remove the right status bar
set-option -g status-right ""

set-option -g status-style fg=white,bg=black

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

# Synchronize panes using C-x
bind -n C-x setw synchronize-panes

# Reload config file using r
bind r source-file ~/.tmux.conf

# List of plugins
#set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'

set -g @scroll-down-exit-copy-mode "off"
set -g @scroll-in-moused-over-pane "off"
set -g @scroll-speed-num-lines-per-scroll "1"
set -g @emulate-scroll-for-no-mouse-alternate-buffer "on"


# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
#run -b '~/.tmux/plugins/tpm/tpm'

# Fixes colors
set -g default-terminal "xterm-256color"
set -ga terminal-overrides ",*256col*:Tc"