From 7e6e146be443188ae7954a800a5874fe75005804 Mon Sep 17 00:00:00 2001 From: jony Date: Fri, 29 May 2020 23:01:01 +0800 Subject: [PATCH] add .tmux.conf --- .tmux.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..025ba95 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,27 @@ +# 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 +set -g mouse on +#set mouse-resize-pane on +#set mouse-select-pane on +#set mouse-select-window on + +# Set easier window split keys +bind-key \ split-window -h +bind-key - split-window -v + +# Easy config reload +bind-key r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"