Skip to content

Instantly share code, notes, and snippets.

@lesnuages
Created September 7, 2022 16:42
Show Gist options
  • Save lesnuages/affebbcfa4a11970aa96d3528ff6b8bf to your computer and use it in GitHub Desktop.
Save lesnuages/affebbcfa4a11970aa96d3528ff6b8bf to your computer and use it in GitHub Desktop.
tmux minimal config
# Enable mouse mode
set -g mouse on
# Bindings
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Resizing panes
bind -r Left resize-pane -L 5
bind -r Right resize-pane -R 5
bind -r Down resize-pane -D 5
bind -r Up resize-pane -U 5
# Toggle mouse mode
bind M set -g mouse
# Reload config
bind r source-file ~/.tmux.conf
# Fast toggle
#bind ^b last-window
# Set vi mode
set-window-option -g mode-keys vi
# Control + Arrows
set-window-option -g xterm-keys on
set -g visual-activity off
set -g monitor-activity on
# Scrollback history higher
set -g history-limit 100000
# Update title
set -g set-titles on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment