From 79e415740444925f3c043d3251ce5337f794f9d5 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 3 May 2020 23:36:29 -0400 Subject: [PATCH] Update tmux config, add basic shortcuts --- .tmux.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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"