-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Zephyr edited this page Oct 14, 2013
·
2 revisions
Dendwrite uses regular expressions to specify what to search for. Regular expressions are an extremely powerful and compact way to specify a search pattern. Unfortunately, this power comes at a price, because regular expressions are notoriously tricky to specify.
Here, we mention the the essential search patterns in Dendwrite. This section will fill out as Dendwrite advances.
Statement | Action |
---|---|
/ | Search, matching URLs, page content, titles and any other associated information. This methodology will search the children first ("depth first") |
? | Searches in a "breadth-first" fashion, that is, siblings will be searched prior to children |
:grep | Rather that incrementally searching, bring up a complete list of nodes matching this criterion which can be opened individually. |
n | Move to the next node |
p | Move to the previous node |
Moving around in Dendwrite follows basic conventions originally established by the editor vim. They are a convienent way to move around swiftly in a structure that is sometimes challenging to traverse using the mouse alone.
Statement | Action |
---|---|
[count]h | Move [count] siblings to the right. |
[count]l | Move [count] siblings to the left. |
[count]j | Move [count] children downwards. |
[count]k | Move [count] parents upwards |
`/m | Mark a node with m and jump back to it later with \ ` |