From 139f0b9c6c1e0d383370e3f7be27be33ace315e8 Mon Sep 17 00:00:00 2001 From: toniiz Date: Sat, 2 May 2026 12:58:20 -0700 Subject: [PATCH] add: non_tpm tmux config file --- configs/tmux_g/tmux_non_tpm/Global/.tmux.conf | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 configs/tmux_g/tmux_non_tpm/Global/.tmux.conf diff --git a/configs/tmux_g/tmux_non_tpm/Global/.tmux.conf b/configs/tmux_g/tmux_non_tpm/Global/.tmux.conf new file mode 100644 index 0000000..e3628e7 --- /dev/null +++ b/configs/tmux_g/tmux_non_tpm/Global/.tmux.conf @@ -0,0 +1,83 @@ +# Color related for ghostty termianal +set -g default-terminal "xterm-ghostty" + +# Color related for kitty terminal +# set -ga terminal-overrides ',xterm-kitty:RGB' +# set -g default-terminal "xterm-kitty" + +# Other settings +set -g mouse on + +# Reload Tmux config +unbind r +bind r source-file ~/.tmux.conf + +# Unbind b for a +unbind-key C-b +set-option -g prefix C-a +set -g prefix C-a + +# Window creation +# Creates a window vertically +bind-key | split-window -h -c "#{pane_current_path}" +# Creates a window horizontally +bind-key _ split-window -v -c "#{pane_current_path}" + +# kill pane without asking me to kill it! +unbind-key x +bind-key x kill-pane +bind-key X kill-session + +# Nvim like movement +bind-key -r h select-pane -L # go left +bind-key -r j select-pane -D # go down +bind-key -r l select-pane -R # go right +bind-key -r k select-pane -U # go up + +# Vim Style resizing panes 2 rows at the time +bind-key -r H resize-pane -L 2 +bind-key -r J resize-pane -D 2 +bind-key -r K resize-pane -U 2 +bind-key -r L resize-pane -R 2 + +# Popups binds +bind C-y display-popup \ + -d "#{pane_current_path}" \ + -w 80% \ + -h 80% \ + -E "lazygit" + +bind C-r display-popup \ + -d "#{pane_current_path}" \ + -w 90% \ + -h 90% \ + -E "ranger" + +bind C-t display-popup \ + -d "#{pane_current_path}" \ + -w 75% \ + -h 75% \ + -E "zsh" + +# Window index will start with 1 +set-option -g base-index 1 +# Pane index will start with 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on + +# Basic status bar styling +set -g status-style "bg=default,fg=white" +set -g status-left "#[fg=blue,bold]#S " +set -g status-right "#[fg=white,nobold]%H:%M " + +# Current window style +set -g window-status-current-style "fg=black,bg=blue" +set -g window-status-current-format " #I:#W " + +# Inactive window style +set -g window-status-style "fg=white,bg=default" +set -g window-status-format " #I:#W " + +# Clean up borders +set -g pane-border-style "fg=brightblack" +set -g pane-active-border-style "fg=blue"