summaryrefslogtreecommitdiff
path: root/.tmux.conf
blob: 1ed550d593d756ea09f554ecc52571b89660edb1 (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
# Change the prefix key to Ctrl-Space
set -g prefix C-Space
unbind C-b
bind C-Space send-prefix

# Toggle the status line with prefix + Space
bind Space set -g status

# Split the window horizontally with prefix + |
# Split the window vertically with prefix + -
unbind \%
unbind \"
bind | split-window -h
bind - split-window -v

# Navigate panes with prefix + hjkl
unbind l
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# Start window and pane numbering from 1 instead of 0
set -g base-index 1
set -g pane-base-index 1

# Show the clock on the right side of the status line
set -g status-right '%H:%M'

# Use the terminal's default foreground and background colors
set -g status-style fg=default,bg=default