-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
34 lines (25 loc) · 811 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
set -g default-terminal "screen-256color"
# Set Ctrl-a as prefix instead of Ctrl-b, for better ergonomics.
set-option -g prefix C-a
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# reload config file
bind r source-file ~/.tmux.conf
# switch panes using escape-vim bindings without prefix
# bind -n M-h select-pane -L
# bind -n M-l select-pane -R
# bind -n M-k select-pane -U
# bind -n M-j select-pane -D
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
# enable mouse mode
set -g mouse on
# make sure escape doesn't delay
# http://superuser.com/questions/252214/slight-delay-when-switching-modes-in-vim-using-tmux-or-screen
set -sg escape-time 0
# set-option -g default-shell /bin/zsh