Paste your clipboard to a file and open it with VIM
in your bashrc:
viclipboard () {
( tmpfile=~/.clips/$(date +%Y%m%d%H%M%S);
pbpaste > $tmpfile && vim $tmpfile && pbcopy < $tmpfile )
}
Paste your clipboard to a file and open it with VIM
in your bashrc:
viclipboard () {
( tmpfile=~/.clips/$(date +%Y%m%d%H%M%S);
pbpaste > $tmpfile && vim $tmpfile && pbcopy < $tmpfile )
}