Some examples:
Deleting all lines with the string "superfluous".
/delete "superfluous"Deleting all lines without the string "superfluous".
/delete "superfluous" (nomatch)Change "bug" to "undocumented feature", but only on those lines that have the string "unexplained".
/change "bug"undocumented feature" "unexplained"Delete all blank lines.
/delete "~" (pattern) {blank lines}Find the next occurrence of the string ".font" that starts in the first column.
/find ".font" (1/5)List all occurrences of "Frank", but not in words such as "Frankenstein".
/list "Frank" (smart) {ignores "Frankenstein"}
By default, Qedit searches for matches to a string. Specifying (NOMATCH) reverses this logic. Likewise, string searches can be restricted to particular columns (10/40), or to a caseless search (UPSHIFT).
If the string represents a pattern, this should be specified with valid pattern characters:
@ | anything, including nothing |
# | single numeric digit |
? | single alphanumeric digit |
~ | zero or more spaces |
[Taken from the "Qedit's Forgotten Commands" tutorial given at Interex in Toronto.]
....Back to the Qedit Q&A Page