forked from common-nighthawk/vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
57 lines (47 loc) · 1.52 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
48
49
50
51
52
53
54
55
56
57
unbind C-b
set -g prefix C-a
# TRYING THINGS FROM BOOK
setw -g mode-keys vi
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
set-option -g default-command "reattach-to-user-namespace -l fish"
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" \; display "Copied to system from tmux clipboard"
bind C-v run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer" \; display "Copied to tmux from system clipboard"
set -sg escape-time 1
bind r source-file ~/.tmux.conf
bind | split-window -h
bind - split-window -v
unbind C-p
unbind C-n
bind -r p select-window -t :-
bind -r n select-window -t :+
#set -g default-terminal "screen-256color"
set -g status-fg cyan
set -g status-bg blue
set -g status-left-length 40
set -g status-left "session: #S || window: #I || pane: #P"
set -g status-justify centre
set -g status-right "%d-%b %R"
setw -g window-status-fg white
setw -g window-status-bg cyan
setw -g window-status-attr dim
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
# set -g message-fg white
# set -g message-bg green
# set -g message-attr bright
set -g pane-border-fg white
set -g pane-active-border-fg cyan
set -g pane-active-border-bg cyan
setw -g monitor-activity on
set -g visual-activity on
bind-key a send-prefix
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r H resize-pane -L 5
bind -r L resize-pane -R 5
bind j select-pane -D
bind k select-pane -U
bind h select-pane -L
bind l select-pane -R