-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
73 lines (58 loc) · 2 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
61
62
63
64
65
66
67
68
69
70
71
72
##
## ~/.tmuxrc
##
# remove all key bindings
unbind-key -a
set-option -g prefix C-a
# misc options
set-option -g allow-rename off
set-option -g default-terminal screen
set-option -g bell-action none
set-option -g prefix C-a
set-option -g status-interval 0
# appearance
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-attr bold
set-window-option -g automatic-rename off
set-window-option -g automatic-rename-format
set-window-option -g allow-rename off
# key bindings
bind-key 'C-a' last-window
bind-key 'c' new-window
bind-key 'l' last-window
bind-key 'p' previous-window
bind-key 'n' next-window
bind-key 'w' choose-window
bind-key 't' clock-mode
bind-key 'd' detach-client
bind-key ':' command-prompt
bind-key '?' list-keys
bind-key ',' command-prompt "rename-window \'%%\'"
bind-key '&' confirm-before -p "kill-window #W? (y/n)" kill-window
bind-key 'x' confirm-before -p "kill-pane #P? (y/n)" kill-pane
# pane key bindings
bind-key '"' split-window -v
bind-key '|' split-window -h
bind-key '\;' last-pane
bind-key 'M' select-pane -M
bind-key 'q' display-panes
bind-key 'z' resize-pane -Z
bind-key -r Up select-pane -U
bind-key -r Down select-pane -D
bind-key -r Left select-pane -L
bind-key -r Right select-pane -R
bind-key -r C-Up resize-pane -U
bind-key -r C-Down resize-pane -D
bind-key -r C-Left resize-pane -L
bind-key -r C-Right resize-pane -R
# shell setup
bind -n F5 send-keys "\
export LS_COLORS=''\n\
export PS1='\\u@\\h [\\w]# '\n\
export EDITOR='vi'\n\
alias ll='ls --color=never -lhFA'\n\
alias df='df -h'\n\
alias vi='vim \"+set ls=2 bs=2 nospell ruler nocp smd nobk nowrap et ts=4 sw=4 ai si wmnu bg=light\" -c \"colorscheme delek\" -c \"map <F8> :set invhls<CR>\" -c \"map <Space> <C-W><C-W>\"'\n"
# cisco
# bind -n C-l send-keys -R\; send-keys C-l