Skip to content

Instantly share code, notes, and snippets.

@michaelwsherman
Created April 1, 2020 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelwsherman/b38df48834f71d0abb3e3760a06f0956 to your computer and use it in GitHub Desktop.
Save michaelwsherman/b38df48834f71d0abb3e3760a06f0956 to your computer and use it in GitHub Desktop.
tmux configuration
# Make Ctrl-A the prefix key.
unbind C-b
set -g prefix C-a
# Set y to copy tmux selected to system clipboard.
bind -T copy-mode y send-keys -X copy-pipe-and-cancel 'xclip -selection clipboard,primary >/dev/null'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment