On Wed, Aug 6, 2014 at 7:33 AM, Kent Tenney <[email protected]> wrote:
> replace text
> :s /text/replace/<flags>
>
> I don't quite follow ... will it be possible to replicate vims syntax
> for searching:
My present plan is for vim mode to use Leo's existing find user
interface *as if* you had typed / or ? followed by search and optional
replace patterns.
So yes, / and ? specify searches, but they will do that by simulating
a Ctrl-F. Vim mode will remember those patterns for the dot.
Instead of typing:
/pattern/pattern/flags
you will type:
/ (puts you in Leo's existing search gui)
pattern
<Return> starts the search, <Tab> allows a replace pattern.
Alt-Ctrl keys any time while entering a pattern changes the Find Panel.
This is the way the so-called "minibuffer" search works. It's much
more vim-like than using the cursor (ugh!) to put text in the
find/replace text boxes.
Hope this is clear. Do you use minibuffer searching now? To enable it::
@bool minibuffer_find_mode = True
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.