-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
30 lines (26 loc) · 992 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
set -g default-terminal 'xterm-256color'
set -g mouse on
set -g history-limit 999999999
set -g repeat-time 200
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -ga terminal-overrides ',*256col*:Tc'
run-shell /usr/share/tmux-resurrect/resurrect.tmux
bind a set-window-option synchronize-panes
set -sg escape-time 0
# copy to X clipboard
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe 'xclip -in -selection clipboard &> /dev/null'
bind -T copy-mode-vi MouseDown1Pane select-pane \; send -X clear-selection
unbind -T copy-mode-vi MouseDragEnd1Pane
# Move between panes with vi keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Set new panes to open in current directory
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
# Avoid date/time taking up space
set -g status-right ''
set -g status-right-length 0
source-file ~/.tmux/tmux-gruvbox-dark.conf