-
Notifications
You must be signed in to change notification settings - Fork 2
/
tmux.conf
43 lines (32 loc) · 1.07 KB
/
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
33
34
35
36
37
38
39
40
41
42
#unbind-key -a
bind-key C-x send-prefix
set-option -g prefix C-x
#bind M-a send-prefix
#set -g prefix M-a
# split using same keys as terminator (eg: ctrl-x, e)
bind e split-window -h
bind o split-window -v
bind-key S-Pageup copy-mode
bind-key [ copy-mode
bind-key ] paste-buffer
bind r source-file ~/.tmux.conf
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "xclip -selection c > /dev/null"
bind-key -T copy-mode-vi 'Escape' send -X cancel
bind-key -T copy-mode-vi 'V' send -X rectangle-toggle
setw -g mode-keys vi
setw -g monitor-activity on
set -g visual-activity off
# set -g default-terminal "tmux-256color"
# set -g default-terminal "screen-256color"
# set -g default-terminal "xterm-256color"
# set-option -sa terminal-overrides ",xterm*:Tc"
# set -g default-terminal "xterm-256color"
set -g xterm-keys on
set -g history-limit 100000
set -g escape-time 1
#set -g set-titles off
set -g status off
# fixes shift-pageup/shift-pagedown
# set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# bind -n S-Pageup copy-mode -u