-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpi32_tmux.conf
151 lines (123 loc) · 5.15 KB
/
pi32_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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
## better prefix key, C-a was changed to C-j on both lines
set -g prefix C-j
bind C-j send-prefix
bind C-j send-prefix # allows to send C-j to other progrmas, hit it twice for others
unbind C-b
## Sets the delay between the prefix and command, good for vim users
set -s escape-time 1
## Starts window at 1 instead of 0
set -g base-index 1
setw -g pane-base-index 1
## Sources .tmux.conf file
bind r source ~/.tmux.conf \; display "Reloaded!"
# better splitting
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
## Better movement between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
## Better movement between window, prefix Ctrl-h/Ctrl-l
# C-j h or C-j l cycles back and forth between windows
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
##Resizing Panes
bind H resize-pane -L 2
bind J resize-pane -D 2
bind K resize-pane -U 2
bind L resize-pane -R 2
# Sets focus events, so autoread in Neovim works properly. Set as per
# :checkhealth in Neovim
set-option -g focus-events on
## COLORS COLORS COLORS COLORS COLORS COLORS COLORS COLORS COLORS COLORS
## 256 colors suppot, may be used with [ -z "$TMUX" ] line in .bashrc
# set -g default-terminal "screen-256color" # This line used from book
## Use this line below, instead of the lines beginning ## 256 colors above
# set -g default-terminal "xterm-256color" # This line used from internet
# set-option -g default-terminal "screen-256color"
set-option -g default-terminal "tmux-256color"
# Set Tc and or RGB Capability
set-option -sa terminal-overrides ',xterm-256color:RGB'
## SETTING COLORS IN TMUX AVAILABLE COLORS:
## black, red, green, yellow, blue, magenta, cyan, white
## less colorful status (The main line at the bottome of tmux)
set -g status-bg colour235
set -g status-fg yellow
## status lines color
set -g status-style fg=red,bg=colour235
## window names color (Names in lower left corner, with active having an * on it)
setw -g window-status-current-style fg=green,bg=colour235
setw -g window-status-style fg=yellow,bg=colour235
## Colors for pane borders (The line borders when spliting the screen into panes)
## active border stype bg=235 I believe for gruvbox, and works with vim
setw -g pane-active-border-style fg=colour238,bg=colour235
setw -g pane-border-style fg=colour238,bg=colour235
## active pane normal, other shaded out (Back ground color of the terminal screen)
## BELIEVED TO BE TERMINAL TEXT
setw -g window-active-style fg=colour251,bg=colour235
setw -g window-style fg=colour251,bg=colour235
## command massage line (Line pops up with <C-j>R)
set -g message-style fg=red,bg=colour232
## status line
set -g status-left-length 40
set -g status-left " [#S] " # #HhFIPSTW##(shell-command)#[attributes] "#[fg=colour250]#S #[..."
set -g status-justify left
set -g status-right-length 40
set -g status-right "#H"# #HhFIPSTW##(shell-command)#[attributes] "#[fg=colour250]#S #[..."
set -g status-right "#[fg=white]%b %d %Y %R "
## update status line (seconds)
set -g status-interval 15
## enable activity alerts
setw -g monitor-activity off
set -g visual-activity off
## sane scrolling
set -g mouse on
## list of plugins
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'christoomey/vim-tmux-navigator'
## TMUX plugin manager (keep at the bottom of tmux.conf)
# run -b '~/.tmux/plugins/tpm/tpm'
# ## COLORS COLORS COLORS COLORS COLORS COLORS COLORS COLORS COLORS COLORS
# ## 256 colors suppot, may be used with [ -z "$TMUX" ] line in .bashrc
# # set -g default-terminal "screen-256color" # This line used from book
#
# ## Use this line below, instead of the lines beginning ## 256 colors above
# set -g default-terminal "xterm-256color" # This line used from internet
#
# ## SETTING COLORS IN TMUX AVAILABLE COLORS:
# ## black, red, green, yellow, blue, magenta, cyan, white
#
# ## less colorful status (The main line at the bottome of tmux)
# set -g status-bg black
# set -g status-fg blue
#
# ## status lines color
# set -g status-style fg=red,bg=cyan
#
# ## window names color (Names in lower left corner, with active having an * on it)
# setw -g window-status-current-style fg=green,bg=black
# setw -g window-status-style fg=yellow,bg=black
#
# ## Colors for pane borders (The line borders when spliting the screen into panes)
# ## active border stype bg=235 I believe for gruvbox, and works with vim
# setw -g pane-active-border-style fg=colour237,bg=black
# setw -g pane-border-style fg=colour237,bg=black
#
# ## active pane normal, other shaded out (Back ground color of the terminal screen)
# ## BELIEVED TO BE TERMINAL TEXT
# setw -g window-active-style fg=colour223,bg=black
# setw -g window-style fg=colour223,bg=black
#
# ## command / maesage line (Line pops up with <CTRL-J>R
# set -g message-style fg=colour9,bold,bg=colour233
#
# ## status line
# set -g status-left-length 40
# set -g status-left " [#S] " # #HhFIPSTW##(shell-command)#[attributes] "#[fg=colour250]#S #[..."
# set -g status-justify left
#
# set -g status-right-length 40
# set -g status-right "#H"# #HhFIPSTW##(shell-command)#[attributes] "#[fg=colour250]#S #[..."
# set -g status-right "#[fg=colour223]%b %d %Y %R "