Skip to content

Instantly share code, notes, and snippets.

@apinstein
Created January 9, 2014 04:15
Show Gist options
  • Save apinstein/8329337 to your computer and use it in GitHub Desktop.
Save apinstein/8329337 to your computer and use it in GitHub Desktop.
trying to get iterm2 + vim + screen clipboard integration
# iterm escape code to allow clipboard integration
https://code.google.com/p/iterm2/wiki/ProprietaryEscapeCodes
# do this in a non-screen terminal, it works!
printf "\e]50;CopyToClipboard\a...followed by text followed by...\e]50;EndCopy\a" && echo && echo 'clip...' && pbpaste
# problems
1. vim --version
-> -clipboard -xterm_clipboard
2. passing thru escape sequence in screen. maybe via termcap? or some other "carve out" for that escape sequence?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment