Skip to content

Instantly share code, notes, and snippets.

@strager
Created May 12, 2020 23:50
Show Gist options
  • Save strager/f3ee15e3869377b00318bfddd59368b6 to your computer and use it in GitHub Desktop.
Save strager/f3ee15e3869377b00318bfddd59368b6 to your computer and use it in GitHub Desktop.
system('gist -P | tr -d "\n" | xclip', getbufline('%', line("'<"), line("'>")))<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment