Skip to content

Instantly share code, notes, and snippets.

@mr337
Last active May 25, 2021 22:38
Show Gist options
  • Save mr337/06d089db15382a8ce8268a7e7245b0e0 to your computer and use it in GitHub Desktop.
Save mr337/06d089db15382a8ce8268a7e7245b0e0 to your computer and use it in GitHub Desktop.
My Tmux conf - emulates screen keys since they are burned into my brain.
set-option -g history-limit 100000
bind r source-file ~/.tmux.conf
# turning this off since it will capture the standard mouse interactions such as right click
# and paster buffer using mouse3
set -g mouse off
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment