#!/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
|