On 11/8/2013 4:29 PM, Edward K. Ream wrote:
On Fri, Nov 8, 2013 at 3:21 PM, Jacob Peck <[email protected]
<mailto:[email protected]>> wrote:
Will this scheme allow vim-like regex replacements, like:
:4,9 s/^/- /g
(replaces the start of lines 4-9 with hyphen-space)
Good question.
Basically every (reasonable) thing that could be part of the dot
command must be supported.
I'm not sure whether colon commands can be composed via dot, but
surely some form of search and replace must be composable using dot.
A possible cute trick: in vim mode Leo's minibuffer search/replace
commands could set up the environment in the same way as s/a/b/(g).
Edward
Looks like dot does not repeat command mode commands. It apparently
repeats "the last change in /normal/ mode". Colon commands are
/command/ mode.
The key combo @: (at-colon) repeats the last colon command. TIL!
But still, if a vim mode is to succeed, it needs colon->minibuffer and
vim-style search/replace wrappers.
-->Jake
--
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/groups/opt_out.