dotfiles/dotfiles/tmux.conf

33 lines
638 B
Plaintext
Raw Normal View History

# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
set-option -g status-position top
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
# prevent issues with (n)vi(m)
set -s escape-time 0
# don't rename windows automatically
set-option -g allow-rename off
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D