-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtmux.conf
More file actions
50 lines (38 loc) · 1.54 KB
/
tmux.conf
File metadata and controls
50 lines (38 loc) · 1.54 KB
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
unbind C-b
set-option -g prefix C-g
bind C-g send-prefix
# https://github.com/seebi/tmux-colors-solarized/blob/master/tmuxcolors-256.conf
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
setw -g window-status-current-fg colour11 # bright yellow
set -g display-time 3000 # display message longer
set -g allow-rename off # prevent overriding names
set -g set-clipboard off # don't print garbage on copy
# colors
set -g message-bg "colour24"
set -g message-fg "colour117"
set -g message-command-fg "colour24"
set -g message-command-bg "colour117"
set -g pane-border-fg blue
set -g pane-active-border-fg white
set -g pane-active-border-bg white
unbind-key "`"
bind-key "`" select-window -t :0
set-option -g default-terminal "xterm-256color"
set-option -g set-titles off
# disable mouse mode, the following options are not support for all tmux
# versions, so we might see some warning messages.
setw -g mouse off
bind-key s split-window -v -c "#{pane_current_path}"
bind-key v split-window -h -c "#{pane_current_path}"
# in select mode (PREFIX '['), after select some text, press "y" to copy it to
# system clipboard, installation of xclip is required
bind -tvi-copy "y" copy-pipe "xclip -i -selection clipboard"
set-window-option -g xterm-keys on
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-resurrect'
run '~/.tmux/plugins/tpm/tpm'