Created
November 26, 2014 12:28
-
-
Save vrs/f548bf330846ff2f51f6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
temp=$(mktemp) | |
echo "### clipboard ###" > "$temp" | |
xclip -o >> "$temp" | |
env emulator=urxvt uvim -b -c 'set noeol' "$temp" + | |
sed 1d "$temp" | xclip -i | |
rm "$temp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment