-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux.conf
60 lines (52 loc) · 1.59 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
58
59
60
#SESSION EXAMPLE
#new-window -kt 1
#send-keys 'vim' enter
#
#new-window -a
#send-keys 'git status' enter
#
#new-window -an 'ctags'
#send-keys 'tagsgen .' enter
#
#new-window -an 'Logs'
#send-keys 'dcup -d && dclf front_webpack' enter
#split-window -v
#send-keys 'dcup -d && dclf front_server' enter
#split-window -h
#send-keys 'dcup -d && dclf front_typescript' enter
#select-pane -t 0
#split-window -h
#send-keys 'dcup -d && dclf front_compass' enter
#
#new-window -an 'API'
#send-keys '(cd ../api/;dcup -d && dclf php_fpm)' enter
#split-window -h
#send-keys '(cd ../api/;dcup -d && dclf nginx)' enter
#select-window -t 1
#------------------------
#CONFIG
set-window-option -g mode-keys vi
#BINDING
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
#set-option -g prefix M-a
#bind-key M-a send-prefix
bind v copy-mode
bind | split-window -h
bind - split-window -v
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi r send -X rectangle-toggle
set -g history-limit 10000
set -sg escape-time 1
set -g base-index 1
set -g status-position bottom
set -g status-bg colour234
set -g status-fg colour137
set -g status-left ' #S '
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '