forked from deiga/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
46 lines (34 loc) · 935 Bytes
/
tmux.conf
File metadata and controls
46 lines (34 loc) · 935 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
43
44
45
46
# Rename your terminals
set -g set-titles on
set -g set-titles-string "#{client_session}::#h::#S"
# Status bar customization
set -g status-utf8 on
set -g status-interval 5
set-option -g default-command "reattach-to-user-namespace -l zsh"
# Enable mouse support in ~/.tmux.conf
set -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
# Better prefix
unbind C-b
set-option -g prefix C-a
# Show last window
bind-key C-a last-window
# Reasonable base-index
set -g base-index 1
setw -g pane-base-index 1
set -s escape-time 0
setw -g aggressive-resize on
set -g main-pane-width 180
set-option -g history-limit 5000
# Remap window navigation to vim
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf