aboutsummaryrefslogtreecommitdiff
path: root/base/tmux.conf
blob: 0f3aa0ed51c225eb94fa0a8cb913efea88ebe952 (plain)
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
bind r source-file ~/.tmux.conf

#set -g utf8
#set-window-option -g utf8 on

set -g base-index 1
set -g pane-base-index 1
set -g renumber-windows on
set -g default-terminal "screen-256color"
set -g history-limit 4096

set -g set-titles on
set -g set-titles-string '#h :: #S'

set -g monitor-activity on
set -g visual-activity off

set -g status-bg default
set -g status-fg brightblack
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-justify left
set -g status-right "%a %d %b %R"

unbind C-b
set -g prefix C-a
bind C-a send-prefix

unbind-key h
unbind-key j
unbind-key k
unbind-key l
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R

unbind-key V
unbind-key H
bind-key V split-window -hc "#{pane_current_path}"
bind-key H split-window -c "#{pane_current_path}"

set -g status-keys vi
set -g mode-keys vi

if '[ -f ~/.tmux.conf.local ]' 'source ~/.tmux.conf.local'