From 28aac9028ec43208a7d58c1bcb6519cd01d5772d Mon Sep 17 00:00:00 2001 From: jsmith Date: Mon, 16 May 2022 14:34:44 +0000 Subject: [PATCH] Add 'tmuxconfig' --- tmuxconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tmuxconfig diff --git a/tmuxconfig b/tmuxconfig new file mode 100644 index 0000000..109dae8 --- /dev/null +++ b/tmuxconfig @@ -0,0 +1,24 @@ +# Send prefix +set-option -g prefix C-a +unbind-key C-a +bind-key C-a send-prefix + +# Use Alt-arrow keys to switch panes +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 + +# Shift arrow to switch windows +bind -n S-Left previous-window +bind -n S-Right next-window + +# Mouse mode +setw -g mouse on + +# Set easier window split keys +bind-key v split-window -h +bind-key h split-window -v + +# Easy config reload +bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded." \ No newline at end of file