Skip to content

Instantly share code, notes, and snippets.

@tophopstop
tophopstop / gist:a9c97250f76083b1f7cae7336cfa7bae
Last active August 17, 2017 19:44
Set Up Copy to MacOs Clipboard with tmux 2.5 on MacOs Sierra
# get 'reattach-to-user-namespace' util with home brew
brew install reattach-to-user-namespace
# then, add these to your .tmux.conf and start/restart
setw -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
# how to use
# 1. enter copy mode: control+b, [
@tophopstop
tophopstop / link.html
Created May 12, 2022 23:45
Outlook-ified Link