Skip to content

Instantly share code, notes, and snippets.

@fcostin
Created March 21, 2012 03:53
Show Gist options
  • Save fcostin/2144127 to your computer and use it in GitHub Desktop.
Save fcostin/2144127 to your computer and use it in GitHub Desktop.
copying to clipboard
on ubuntu...
sudo apt-get install xsel
then from inside vim to copy the contents of the current file to clipboard
! xsel -b < %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment