-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
42 lines (31 loc) · 859 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
# configure reattach-to-user-namespace
set-option -g default-command "reattach-to-user-namespace -l zsh"
# remap prefix to capslock
unbind C-b
set -g prefix C-a
set -g prefix2 C-b
# status bar
set -g status-position bottom
set -g status-justify centre
# set base index for window
set -g base-index 1
set -g pane-base-index 1
# pane configuration keys
bind | split-window -h
bind _ split-window -v
# display pane title
set -g pane-border-status top
set -g pane-border-format "#{pane_index} #{pane_current_path}:#{pane_current_command}"
# vim-style keys
set-window-option -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# terminal options
set -s escape-time 0
set -g mouse on
# activity monitoring
set -g visual-activity on
setw -g monitor-activity on
set -g default-terminal "screen-256color"