-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
44 lines (29 loc) · 989 Bytes
/
Copy pathtmux.conf
File metadata and controls
44 lines (29 loc) · 989 Bytes
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
# Switch from C-b to C-a for ergonomics.
unbind-key C-b
set -g prefix C-a
bind C-a send-prefix
# Reload this configuration.
bind r source-file ~/.tmux.conf
# Enable full color for tmux.
set -g default-terminal "screen-256color"
# Enable nice colors and stuff.
set-option -g default-command bash
# Move between panes like in vim.
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Allow C-arrow to move whole word in CLI.
set-window-option -g xterm-keys on
# Run a build in the termal to the right.
bind m send-keys -t "$window".right 'cmake --build . -- -j8' Enter
# Run tests in the terminal to the right.
bind t send-keys -t "$window".right 'ctest .' Enter
# Customize the display setting for Ubuntu purple.
set -g status-justify centre
set -g status-right-length 80
set -g status-right "#[bg=colour025] #H "
set -g status-left-length 80
set -g status-left "#[bg=red] #S "
set-option -g status-bg black
set-option -g status-fg white