Mike Farrell ([log in to unmask]) recently asked for "can't live without"
command files.
One that I find very useful scans all of my :FILE equations for a string.
It can be used only from within Qedit, but that doesn't matter to me, as
<plug> I stay in Qedit all day </plug>. Here is CHKEQ in its stripped-down
form:
ANYPARM string
:listeq >eqs
/list eqs "!string" (up)
One that I rarely use but keep around "just in case" is called ON:
if bound( InsideQEDIT ) and InsideQEDIT = 1
:set echo=on
else
set echo=on
endif
Escape-colon wasn't too bad if you couldn't see what you were typing, but
"set echo=on" is a little much. <gripe>(BTW, this command file does NOT work
properly in MPEX if InsideQEDIT isn't defined, as MPEX still does NOT do
short-circuit evaluation -- what a pain!)</gripe>
Hope the above does not constitute waste-of-bandwidth.
--Glenn Cole
Software al dente, Inc.
[log in to unmask]