-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
107 lines (82 loc) · 2.61 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# bind a reload key
bind r source-file ~/.tmux.conf \; display "tmux reloading..."
# Change the prefix to Ctrl+space
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# increase scroll-back history
set -g history-limit 5000
# use vim key bindings
setw -g mode-keys vi
# start window index at 1
set -g base-index 1
# start pane index at 1
set -g pane-base-index 1
# change the default delay to make it more responsive
set -sg escape-time 1
# Splitting panes
bind-key \\ split-window -h
bind-key - split-window -v
# pane movements
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# pane resizing
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
# pane resizing
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# window movement
bind -r C-h select-window -t:-
bind -r C-l select-window -t:+
# Don't prompt to kill panes/windows.
bind-key x kill-pane
bind-key & kill-window
# remapping copy paste to vim
# unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
# colors
# set -g default-terminal "screen-256color
set-option -g default-terminal "tmux-256color"
# default statusbar colors
# set-option -g status-style fg=yellow,bg=white #yellow and base2
# default window title colors
# set-window-option -g window-status-style fg=brightyellow,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
# set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
# set-option -g pane-border-style fg=white #base2
# set-option -g pane-active-border-style fg=brightcyan #base1
# message text
# set-option -g message-style fg=brightred,bg=white #orange and base2
# pane number display
# set-option -g display-panes-active-colour blue #blue
# set-option -g display-panes-colour brightred #orange
# clock
# set-window-option -g clock-mode-colour green #green
# bell
# set-window-option -g window-status-bell-style fg=white,bg=red #base2, red
# start window numbering at 1 for easier switching
set -g base-index 1
setw -g pane-base-index 1
# setw -g monitory-activity on
set -g visual-activity on
set-option -g renumber-windows on
setw -g aggressive-resize on
# Status Bar
set -g status-interval 2
set-option -g status-fg yellow #Status Bar fg
set-option -g status-bg black #Status Bar bg
setw -g window-status-current-format "[#I:#W]"
setw -g window-status-format "#I:#W"
set -g status-right ""