-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
56 lines (43 loc) · 1.05 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
set-option -g default-shell "/usr/bin/fish"
# C-b to C-a
unbind C-b
set -g prefix C-a
bind-key C-a send-prefix
# easy reload
bind r source-file ~/.tmux.conf
set -g mouse on
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g default-terminal screen-256color
# Start window array at 1 not 0
setw -g pane-base-index 1
setw -g base-index 1
setw -g monitor-activity on
set -sg escape-time 0 # Remove delay with vim escape
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# easy pane-switching
#bind -n M-Left select-pane -L
#bind -n M-Right select-pane -R
#bind -n M-Up select-pane -U
#bind -n M-Down select-pane -D
# Sane split commands
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# vim copy paste
setw -g mode-keys vi
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# keep names
#set-option -g allow-rename off
set -g status-bg black
set -g status-fg white