-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tmux.conf
47 lines (37 loc) · 1005 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
42
43
44
45
46
47
# tmux config file
# Set prefix to Ctrl-Space
unbind C-b
set -g prefix C-Space
bind Space send-prefix
# CTRL arrow to switch windows
bind -n C-Left previous-window
bind -n C-Right next-window
# Use Shift-arrow keys without prefix key to switch panes
bind -n S-Left select-pane -L
bind -n S-Right select-pane -R
bind -n S-Up select-pane -U
bind -n S-Down select-pane -D
bind | split-window -h
bind - split-window -v
unbind %
# 256 color support
set -g default-terminal "xterm-256color"
# Scroll + mouse
setw -g mouse on
# Generate xterm-style function key sequences
setw -g xterm-keys on
# Automatically set window title
setw -g automatic-rename on
set -g set-titles on
set -g set-titles-string "[#S] #I:#W"
# Show activity in background windows
setw -g monitor-activity on
# Message bar
set -g message-attr bright
set -g message-bg black
set -g message-fg blue
set -g display-time 2000
set -g display-panes-time 2000
# Start window numbering at 1
set -g base-index 1
set -g renumber-windows on