Created
March 9, 2011 11:07
-
-
Save yoshikaw/862031 to your computer and use it in GitHub Desktop.
CygwinのscreenでコピーバッファをWindowsクリップボードに流し込むっ!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# changes the filename used for reading and writing with the paste buffer. | |
bufferfile 'screen/screen-exchange' | |
# copy the screen pastbuffer to the Cygwin pastebord | |
bindkey -m ' ' eval 'stuff \040' 'writebuf' 'exec sh -c "/usr/bin/putclip < screen/screen-exchange"' | |
bindkey -m Y eval 'stuff Y' 'writebuf' 'exec sh -c "/usr/bin/putclip < screen/screen-exchange"' | |
bindkey -m W eval 'stuff W' 'writebuf' 'exec sh -c "/usr/bin/putclip < screen/screen-exchange"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
拝借いたしました。
そのままですと、日本語がばけてしまいましたので、少し改変しました。