Skip to content

Instantly share code, notes, and snippets.

@Fatpandac
Last active November 21, 2025 06:17
Show Gist options
  • Select an option

  • Save Fatpandac/4b86c2a653aecafb4945727d7420a3a4 to your computer and use it in GitHub Desktop.

Select an option

Save Fatpandac/4b86c2a653aecafb4945727d7420a3a4 to your computer and use it in GitHub Desktop.
set-option -sg escape-time 10
set-option -g focus-events on
set -gq allow-passthrough on
set -g visual-activity off
set -g base-index 1
set -g allow-passthrough on
setw -g pane-base-index 1
set -g renumber-windows on
set-option history-limit 1000
set -g default-terminal "screen-256color"
set -g prefix C-a
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-open'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
unbind [
bind Escape copy-mode
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind i display-popup -w 70% -h 70% -d '#{pane_current_path}'
bind | split-window -hc "#{pane_current_path}"
bind - split-window -vc "#{pane_current_path}"
bind -r "<" swap-window -d -t -1
bind -r ">" swap-window -d -t +1
bind -r t if-shell 'tmux list-windows -t "#S" | grep -q "btop"' \
'run-shell "tmux select-window -t "#S":btop"' \
'run-shell "tmux new-window -t "#S" -n btop \"btop\""'
bind -r f if-shell 'tmux list-windows -t "#S" | grep -q "ollama"' \
'run-shell "tmux select-window -t "#S":ollama"' \
'run-shell "tmux new-window -t "#S" -n ollama \"ollama run gpt-oss:120b-cloud\""'
bind -r s choose-session
bind r source-file ~/.tmux.conf \; display 'Reload!'
# theme
set -g status-bg "#2e3b4e"
set -g status-fg "white"
set -g status-interval 1
set -g status-right "#(git rev-parse --abbrev-ref HEAD) "
set -g status-right-length 120
set -g status-left " %H:%M:%S | "
set -g status-left-length 120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment