Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
300 B

#!/bin/sh
# Edit clipboard contents with gvim.
# We need the --nofork here because otherwise the gvim process forks and
# returns to the parent script, so that by the time it's opened the tempfile is
# gone and the clipboard has been cleared.
export EDITOR="/usr/bin/gvim --nofork"
edit-clipboard