From 989f91d86cbb57c9f0cc6b81dabbe1dfb6d4f074 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 10 Feb 2023 11:14:08 -0800 Subject: add tmux conf --- dot_tmux.conf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dot_tmux.conf (limited to 'dot_tmux.conf') diff --git a/dot_tmux.conf b/dot_tmux.conf new file mode 100644 index 0000000..e63ded6 --- /dev/null +++ b/dot_tmux.conf @@ -0,0 +1,29 @@ +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' + +set -g @plugin 'seebi/tmux-colors-solarized' + +# 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 + +# remap prefix from 'C-b' to 'C-a' +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +# split panes using | and - +bind \\ split-window -h +bind - split-window -v +unbind '"' +unbind % + +# reload config file (change file location to your the tmux.conf you want to use) +bind r source-file ~/.tmux.conf + -- cgit v1.2.3