Skip to content

Instantly share code, notes, and snippets.

@matinrco
Last active October 17, 2021 16:41
Show Gist options
  • Select an option

  • Save matinrco/0225c7c4d1f3aa3dc289f19528e890b8 to your computer and use it in GitHub Desktop.

Select an option

Save matinrco/0225c7c4d1f3aa3dc289f19528e890b8 to your computer and use it in GitHub Desktop.

Create tmux config file in your home directory:

touch ~/.tmux.conf
  • To enable mouse support:
    set -g mouse on

  • To enable 256color (to fix highlighting style in zsh-autosuggestions in my case):
    set -g default-terminal screen-256color

To load configuration without restarting tmux, run this:
tmux source-file ~/.tmux.conf

Tested on tmux 3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment