> I tried the vim bindings, but haven't tried them recently. Would that
> help me do this more efficiently?
The vim bindings provide two types of search operations. They are
documented in Chapter 22 of the User Guide and summarized below. Of
course the keys can be remapped if you don't want Vi-like
functionality. Let me know if you have any questions?
Basic search:
'/' - Prompts for search string then finds the first occurrence.
If invoked from within the body pane then the search is
limited to the body pane from the cursor postion.
If invoked when the node's headline has focus then the
search is limited to the node headlines and bodies of
the current and all sub-nodes.
'?' - Same as '/' but backwards.
'n' - Find next occurrence
'N' - Find previous occurrence (first time invoked, the command
moves cursor from end of last found text to beginning of
same text (Leo implementation).
Search and replace:
'Alt-/' - Prompts for search and replace string then finds first
occurrence.
The scope is taken from the "Find" tab card.
'n' - Find next occurrence.
'N' - Find previous occurrence (first use moves cursor from
end of last found text to beginning of same text.
'Alt-P' - Paste clipboard into found text and find next
occurrence.
The "search and replace" is actually a "replace and search"
operation. This allows you to view each "find" before deciding to
keep it ('n' key) or do a replace ('Alt-P' key). If you know that all
occurrences need to be replaced then press and hold the 'Alt-P' key.
It will stop performing replace operations once the last match has
been found.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---