On Fri, Aug 22, 2014 at 3:47 PM, Kent Tenney <[email protected]> wrote:
> I've been working in vim mode lately, and I think I'll continue, the benefit of some vim capability offsets the cost of remembering 'I can't do that', 'this works differently here' ... It's getting pretty easy to add new features to vim mode, as today's work indicates. Please continue to let me know about stumbling blocks... > I happen to like :%s/this/that/gc , I've never used Leo's s&r Never?? Do you have @bool minibuffer_find_mode = True ? If so, you can search like this:: :s<return>find pattern<return> OR <Ctrl-F>find pattern<return> F3 to find again. F2 to find again in the reverse direction You do replaces like this: :s<return>find pattern<tab>replace pattern<return> OR <Ctrl-F>find pattern<tab>replace pattern<return> Then: <Ctrl-=> to replace <Ctrl--> to replace, then find. F3 to search again, without replacing. F2 to find again in the reverse direction, without replacing. In other words, you can choose between :s and <Ctrl-F> Hehe. As I write this, in vim mode it might be possible to use: /<Return> instead of F3 ?<Return> instead of F2 and maybe some other plain keys instead of <Ctrl-=> and <Ctrl--> Alternatively, after starting the search the Leo-legacy way, the search could enter a vim-like "confirmation mode". It would be easy to do... 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.
