forked from hukl/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
45 lines (35 loc) · 978 Bytes
/
.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
#set-option -g default-shell /bin/zsh
set -g default-command /bin/zsh
set -g default-shell /bin/zsh
bind-key a set-window-option synchronize-panes
bind-key X kill-session
# vi mode keys
set-window-option -g mode-keys vi
setw -g mode-keys vi
set-option -g mouse off
#set -g prefix C-a
#unbind C-b
set -sg escape-time 1
#bind-key -T copy-mode-vi v send -X begin-selection
#unbind -T copy-mode-vi Enter
bind-key -Tcopy-mode-vi 'v' send
bind-key -Tcopy-mode-vi 'y' send
bind-key -Tcopy-mode-vi Escape send
bind-key -Tcopy-mode-vi V send
set -g base-index 1
setw -g pane-base-index 1
#movement in vim style
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
#resizing of windows in vim style
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
#cycle through windows
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
# history of 5k
set-option -g history-limit 5000