-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.macos.conf
46 lines (38 loc) · 1.07 KB
/
tmux.macos.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
# set -g default-terminal "tmux-256color"
# set -ga terminal-overrides ",*256col*:Tc"
# set -g terminal-overrides ",tmux-256color:Tc"
set -g display-time 3000
set -g history-limit 65535
set -g base-index 1
# set -g pane-base-index 1
set -g visual-activity on
set -s escape-time 0
# setw -g automatic-rename
## keybindings
# unbind C-b
# set -g prefix C-a
bind-key b send-prefix # for nested tmux
bind r source-file ~/.tmux.conf
unbind '"'
unbind s
unbind v
unbind %
bind v split-window -h
bind s split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
## pane movement
bind e command-prompt -p "join pane from:" "join-pane -s '%%'"
bind m command-prompt -p "send pane to:" "join-pane -t '%%'"
set -g status-interval 1
set -g status-keys vi
setw -g mode-keys vi
set -g status-bg white
set -g status-fg black
# set -g window-status-current-bg white
# set -g window-status-current-fg black
# set -g window-status-current-attr bold
set -g status-left " #S "
set -g status-right "#(uptime | rev | cut -d":" -f1 | rev | sed s/,//g) #(whoami)@#H "