Skip to content

Instantly share code, notes, and snippets.

@Cynnexis
Last active April 20, 2023 09:38
Show Gist options
  • Select an option

  • Save Cynnexis/055949bac3d3f6850747e4928a38d52e to your computer and use it in GitHub Desktop.

Select an option

Save Cynnexis/055949bac3d3f6850747e4928a38d52e to your computer and use it in GitHub Desktop.
TMUX configuration file

TMUX Configuration File

To download the default TMUX configuration file, please use the following commands:

cd
curl -fsSL "https://gist.githubusercontent.com/Cynnexis/055949bac3d3f6850747e4928a38d52e/raw/.tmux.conf" -o ~/.tmux.conf
# Enable the powerline status bar
run-shell 'powerline-config tmux setup'
# Allow tmux to use 256-bits colors in the terminal
set -g default-terminal "screen-256color"
# Increase scrollback history buffer
set-option history-limit 5000
# Capture mouse events
set -g mouse on
# Set tmux to vi (defaults to emacs)
#set-window-option -g mode-keys vi
# Override term (used for scrolling)
#set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment