-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
47 lines (38 loc) · 1.16 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
# OS X
set -g default-command 'fish'
set -g default-terminal 'xterm-256color'
set -sa terminal-overrides ',xterm-256color:RGB'
# history
set -g history-limit 15000
# prefix
unbind C-b
set -g prefix '`'
bind '`' send-prefix
# keyboard
set -sg escape-time 0
# navigation
set -g mouse off
set-window-option -g mode-keys vi
set -g base-index 1
# notifications
set -g monitor-activity on
# colors
set -g pane-border-style 'fg=#444444'
set -g pane-active-border-style 'fg=#cccccc'
# status
set -g status-position top
set -g status-left ''
set -g status-right '[#[fg=cyan]#(whoami)#[default]@#[fg=cyan]#H#[default]] %y-%m-%d %H:%M'
set -g status-fg '#ffffff'
set -g status-bg '#222222'
set -g window-status-format ' #I #W '
set -g window-status-current-format '#[bg=black] *#I #W '
set -g window-status-activity-style 'fg=#dddd00,none'
# fix new pane path
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# copy & paste shortcuts
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle