Skip to content

Instantly share code, notes, and snippets.

@clement-bramy
Created July 13, 2025 23:21
Show Gist options
  • Select an option

  • Save clement-bramy/d7a9aa358fede8432323b6aae0d05327 to your computer and use it in GitHub Desktop.

Select an option

Save clement-bramy/d7a9aa358fede8432323b6aae0d05327 to your computer and use it in GitHub Desktop.
basic tmux.config
# change prefix to ctrl-a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# activates mouse + selection mode in vi mode
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
setw -g mode-keys vi
# set index starting at 1
set -g base-index 1
set -g pane-base-index 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment