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

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