blob: a2b25198a6a68437fd116b0884eae981be96b396 (
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
|
# set the prefix to C-A
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g default-terminal "tmux-256color"
set -g aggressive-resize on
set -g set-titles on
set -g mode-keys vi
set -g xterm-keys on
# -,| do a horizontal/vertical split
unbind-key %
unbind-key '"'
bind - split-window -v -c '#{pane_current_path}'
bind | split-window -h -c '#{pane_current_path}'
# spawn new shells in the current path
bind c new-window -c '#{pane_current_path}'
set-option -g history-limit 16384
set-option -g update-environment "\
DISPLAY\
SSH_ASKPASS\
SSH_AUTH_SOCK\
SSH_AGENT_PID\
SSH_CONNECTION\
WINDOWID\
XAUTHORITY\
DBUS_SESSION_BUS_ADDRESS\
"
|