On Wednesday 25 of April 2012 23:35:59 Mathieu Lonjaret wrote:
> So, are you saying E just works out of the box for you as the $EDITOR
> for git/hg?
> Or did you have to tweak a few things like what Aram and Dexen describe?
worked out-of-box; I only add plumbing for PHP stuff -- and start plumber in
~/.profile
use $VISUAL rather than $EDITOR to ensure it is used only under X Windows
--
dexen deVries
Weightless and alone
you speed through the eerie nothingness of space
you circle 'round the Moon
and journey back
to face the punishing torment of re-entry
-- LUNA-C, ``Supaset8 (full release)'', #24m52s
#file / line in PHP format
type is text
data matches '(.+) on line ([0-9]+)'
arg isfile $1
data set $file
attr add addr=$2
plumb to edit
include /usr/local/plan9/plumb/initial.plumbing
export VISUAL=E
if [ "$DISPLAY" ]; then
nohup plumber </dev/null >/dev/null 2>/dev/null &
fi