From c8cd0993abc3ad08a04f895d69a6a16817096e5f Mon Sep 17 00:00:00 2001 From: Devin Haska <2636402+wonderfulfrog@users.noreply.github.com> Date: Tue, 28 May 2024 14:48:56 -0700 Subject: [PATCH] Create tmux.conf --- .config/tmux/tmux.conf | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .config/tmux/tmux.conf diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf new file mode 100644 index 0000000..77d47df --- /dev/null +++ b/.config/tmux/tmux.conf @@ -0,0 +1,46 @@ +# Set true color +set-option -sa terminal-overrides ",xterm*:Tc" + +# Mouse +set -g mouse on + +# Set prefix +unbind C-b +set -g prefix C-Space +bind C-Space send-prefix + +# Renumber windows/panes +set -g base-index 1 +set -g pane-base-index 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on + +# Optn panes in current directory +bind '"' split-window -v -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" + +# Vim-like pane switching +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +# Plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin "janoamaral/tokyo-night-tmux" + +# Theme +set -g status-position top + +set -g @tokyo-night-tmux_window_id_style fsquare +set -g @tokyo-night-tmux_pane_id_style hsquare +set -g @tokyo-night-tmux_zoom_id_style dsquare +set -g @tokyo-night-tmux_show_datetime 0 +set -g @tokyo-night-tmux_date_format MYD +set -g @tokyo-night-tmux_time_format 12H +set -g @tokyo-night-tmux_show_path 1 +set -g @tokyo-night-tmux_path_format relative # 'relative' or 'full' + +run '~/.tmux/plugins/tpm/tpm'