Update tmux config, add basic shortcuts

This commit is contained in:
Shaun Reed 2020-05-03 23:36:29 -04:00
parent 7653eeaa30
commit 79e4157404
1 changed files with 17 additions and 0 deletions

View File

@ -22,6 +22,23 @@
set -g mouse on
# remap shortcut prefix from 'C-b' to 'C-z'
unbind C-b
set-option -g prefix C-z
bind-key C-z send-prefix
# Reload tmux.conf in this session
bind r source-file ~/.tmux.conf
bind h split-window -h
bind v split-window -v
# 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
set-option -g status-position top
# Can't use theme plugin without risk of repo update overwriting data?
#source-file "${HOME}/.tmux-themepack/powerline/double/green.tmuxtheme"