./tmux.conf

Tmux Config Generator

This tool helps you build a tmux configuration file based on your preferences. You can adjust settings for key bindings, appearance, status bar, and add useful plugins.

Set keybindings
Customize appearance
Configure plugins

Controls the tmux leader key for all shortcuts.

Allows mouse interactions like clicking on panes, scrolling, and resizing.

1K5,00050K

Number of lines to keep in scrollback history per pane.

Time tmux waits after an escape is pressed. Lower values reduce lag in vim/neovim but can cause issues with some key combinations.

Window and pane numbering starts at this index. Many prefer 1 for easier keyboard access.

TPM Installation

1. Clone TPM repository:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

2. Add the TPM initialization to your .tmux.conf (already included in generated config)

3. Install plugins by pressing prefix + I inside tmux

Configuration Preview

# Tmux Configuration
# Generated with TmuxAI Config Generator
# https://tmuxai.dev

# -- Basic Settings ------------------------------------------
set -g prefix C-b
set -g escape-time 500
set -g history-limit 5000
set -g base-index 1
setw -g pane-base-index 1
set -g mouse on

# -- Status Bar ---------------------------------------------
set -g status-position bottom
set -g status-interval 1
set -g status-left "#{session_name} "
set -g status-left-length 50
set -g status-right "#{host} %Y-%m-%d %H:%M"
set -g status-right-length 50

# -- Plugins -----------------------------------------------
# Plugin manager
set -g @plugin 'tmux-plugins/tpm'

# Other plugins
set -g @plugin 'tmux-plugins/tmux-resurrect'
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'
TmuxAI Logo

AI Powered, Non-Intrusive Terminal Assistant

TmuxAI enhances your terminal with AI-powered commands, automation, and contextual awareness while preserving your existing workflow. It's open-source, privacy-focused, and can be used with any terminal emulator.

curl -fsSL https://get.tmuxai.dev | bash