forked from nod/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtmux.conf
More file actions
45 lines (33 loc) · 910 Bytes
/
tmux.conf
File metadata and controls
45 lines (33 loc) · 910 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
# ~/.tmux.conf
# use screen's ctrl-a
set -g prefix C-a
unbind C-b
bind-key C-a last-window
# I use modern 256-color terminals
set -g default-terminal "screen-256color"
set -g history-limit 50000
set -g bell-action none
set -g status-keys vi
set -g base-index 1
setw -g aggressive-resize on
#setw -g mode-mouse on
#set-option -g mouse-select-pane on
set-option -g visual-bell off
# page up, page down
setw -g xterm-keys on
# mouse scrolling (doesn't seem to work)
# set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# this may be slow
#set-window-option -g automatic-rename
# commands for splitting
unbind %
bind | split-window -h
bind - split-window -v
bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
# status bar
set -g status-bg black
set -g status-fg cyan
set -g status-justify right
set -g status-left ""
set -g status-right '#[fg=green]#h #[fg=yellow]%H:%M'
new-session