-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
40 lines (32 loc) · 902 Bytes
/
.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
# remap C-b to C-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# escape time
set-option -sg escape-time 10
# True color
set-option -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# reload the conf file on the fly
bind-key r source-file ~/.tmux.conf
# Let people use the mouse
set-option -g mouse on
# Run ros_make in window 1 pane1
bind-key m \
select-window -t 1 \; \
select-pane -t 1 \; \
send-keys 'C-c' 'C-m' 'ros_make' 'C-m'
# tmux line snapshot
if-shell "test -f ~/.tmux-snapshot" "source ~/.tmux-snapshot"
## Very simple theme
#set -g status-bg black
#set -g status-fg white
#set -g window-status-current-bg white
#set -g window-status-current-fg black
#set -g window-status-current-attr bold