-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.conf
51 lines (43 loc) · 1.49 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
43
44
45
46
47
48
49
50
51
set -g default-shell /usr/bin/zsh
set -g history-limit 10000
set -g default-terminal "xterm-256color"
set -g display-time 750
set -sg escape-time 0
setw -g xterm-keys on
set -g mouse off
bind C-Space send-prefix
unbind C-a
set -g prefix C-Space
unbind Space
bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -selection clipboard -i'
bind -n M-y run 'tmux show-buffer | xclip -selection clipboard -o'
bind -n M-v run "tmux set-buffer \"$(xclip -selection clipboard -o)\"; tmux paste-buffer"
bind -n M-a copy-mode
bind -n M-n new-window -c '#{pane_current_path}'
bind -n M-Tab if-shell -b 'tmux next-window' '' ''
bind C-Space resize-pane -Z
set -g display-panes-time 285
bind -n F12 display-panes
bind -n M-r split-window -c '#{pane_current_path}'
bind -n M-e split-window -h -c '#{pane_current_path}'
bind -n M-h select-pane -L
bind -n M-l select-pane -R
bind -n M-k select-pane -U
bind -n M-j select-pane -D
bind -n M-\ swap-pane -D
bind -n S-Left resize-pane -L 3
bind -n S-Right resize-pane -R 3
bind -n S-Up resize-pane -U 3
bind -n S-Down resize-pane -D 3
bind C-m set -g mouse
set -g status off
set -g status-style 'fg=colour233'
set -g pane-border-status off
set -g pane-active-border-style 'bg=colour233'
set-option -g pane-active-border-fg 'colour248'
set-option -g pane-border-fg 'colour238'
set -g mode-style 'bg=colour237'
set-option -g message-fg white
set-option -g message-bg '#303030'
set-option -g window-active-style 'bg=colour233'