22 lines
402 B
Text
22 lines
402 B
Text
# Change prefix key to C-a, found in in GNU Screen
|
|
unbind-key C-b
|
|
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
# Sane splits
|
|
bind u previous-window
|
|
bind i next-window
|
|
|
|
bind n new-window -c "#{pane_current_path}"
|
|
|
|
bind k split-window -v
|
|
bind l split-window -h
|
|
|
|
# Rebind command key to ;
|
|
bind \; command-prompt
|
|
|
|
# Reload config on C-r
|
|
bind C-r source-file ~/.config/tmux/tmux.conf
|
|
|
|
# vim: ft=tmux
|