From d0e00cb8710be008a0b25f37ce254b5622bd051b Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 6 Nov 2023 11:18:18 -0600 Subject: Migrate to chezmoi (https://chezmoi.io) --- dot_config/tmux/tmux.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dot_config/tmux/tmux.conf (limited to 'dot_config/tmux/tmux.conf') diff --git a/dot_config/tmux/tmux.conf b/dot_config/tmux/tmux.conf new file mode 100644 index 0000000..5c017d8 --- /dev/null +++ b/dot_config/tmux/tmux.conf @@ -0,0 +1,30 @@ +set-option -g default-shell "/bin/zsh" + +# https://github.com/microsoft/WSL/issues/5931 +set -sg escape-time 50 + +set -g mouse on +set -ga terminal-overrides ",xterm-256color:Tc" +set -g default-terminal "tmux-256color" +set -g @plugin "arcticicestudio/nord-tmux" +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g default-command "${SHELL} -l" +set -g @plugin 'jaclu/tmux-menus' +set -g @plugin 'schasse/tmux-jump' +set -g @plugin 'MunifTanjim/tmux-mode-indicator' + +set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_DATA_HOME/tmux/plugins/" + +#ctrl-a for prefix +unbind C-b +set-option -g prefix C-a +bind-key C-a send-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 + +#Make sure you have tmux-plugin-manager installed! +run '/usr/share/tmux-plugin-manager/tpm' -- cgit v1.2.3