Skip to content

Instantly share code, notes, and snippets.

@cowlike
Last active October 14, 2022 19:12
Show Gist options
  • Save cowlike/72459562375afef1bbf354b26f2d8f97 to your computer and use it in GitHub Desktop.
Save cowlike/72459562375afef1bbf354b26f2d8f97 to your computer and use it in GitHub Desktop.
tmux settings

tmux terminal multiplexer

tmux home

Install

brew install tmux

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

Configuration

~/.tmux.conf

set -g prefix C-p
set-option -g mouse on

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'

run '~/.tmux/plugins/tpm/tpm'

set -g default-terminal "screen-256color"

Misc

<prefix>-I to reload conf in a running tmux

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