-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
42 lines (36 loc) · 880 Bytes
/
.tmux.conf
File metadata and controls
42 lines (36 loc) · 880 Bytes
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
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
# random settings
set -g default-terminal screen-256color
set -g status-keys vi
set-g history-limit 10000
setw -g mode-keys vi
setw -g mode-mouse on
setw -g monitor-activity on
# remap prefix from C-b to C-w
unbind C-w
set-option -g prefix C-w
bind C-w send-prefix
# split panes using v and s
bind v split-window -h
bind s split-window -v
unbind '"'
unbind %
# vim switching
bind j select-pane -D
bind k select-pane -U
bind h select-pane -L
bind l select-pane -R
bind w select-pane -l
# more vim switching
bind -n C-j select-pane -D
bind -n C-k select-pane -U
bind -n C-h select-pane -L
bind -n C-l select-pane -R
bind -n M-w select-pane -l
# resizing using similar vim stuff
bind J resize-pane -D 5
bind K resize-pane -U 5
bind H resize-pane -L 5
bind L resize-pane -R 5