-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux.conf
32 lines (23 loc) · 941 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
# Solarized fun
set -g default-terminal "screen-256color"
# Vim keybindings
set-window-option -g mode-keys vi
# Auto-renumber windows on close
set-option -g renumber-windows on
# Don't use military time
set-window-option -g clock-mode-style 12
# Re-bind to open new windows in current directory
bind % split-window -h -c "#{pane_current_path}" # Split panes horizontally
bind '"' split-window -v -c "#{pane_current_path}" # Split panes vertically
bind c new-window -c "#{pane_current_path}" # New windows
# set-option repeat-time 0
set -g mouse on
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
# Automatically set window title
set-option -g set-titles on
set-option -g set-titles-string "#S / #W"
set -g default-shell $SHELL
set -g default-command "reattach-to-user-namespace -l ${SHELL}"
unbind-key Space
bind-key C-Space next-layout