diff --git a/.tmux.conf b/.tmux.conf index 99a10dc..e55823b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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"