On Tue, Aug 12, 2014 at 8:32 AM, Kent Tenney <[email protected]> wrote: > Are you trying to replicate vim operation or has there > been a 'fork' and bindings are vim-like?
The former. > IE: do you keep vim open and check it's operation against Leo? Yes. > I see in current commit message: > Added :r <return>filename<return> ... > > this works as described, but being different than vim, it becomes > a confusing 3rd set of bindings to learn. I discussed this problem and its solution here this morning: Aha: vim mode is a great success, even when not enabled https://groups.google.com/d/msg/leo-editor/_KvHWDWdhaM/b4epOlLLcKMJ > In vim it is spelled > : <optional whitespace> r filename <return> The optional whitespace isn't going to happen: the name of the command is :r. You could call this a limitation of the @g.command decorator. It could be fixed, by why bother? > in vim :r<return> pastes a copy of the current file at the cursor I didn't know that. It will be easy to do once the solution referred to in this morning's post is in place. See the P.P.S in that post. > There seems to be a world view difference: in vim, ':' enters > command mode, in vim-mode, the ':' seems attached to a > command, not sure how this plays out. I don't think it's a big deal. In practice, :r will work fine. It's a tiny compromise necessitated by the fact that we are actually using Leo's minibuffer, and everything it offers, including typing completion for command names. And soon, dired mode. > If differences can't be helped, that's ok, and won't be a > problem for Leo users learning vim through Leo's bindings. > It is a problem for fingers trained by vim usage. The extra return problem will be fixed, as described in this morning's post. > (you are being haunted by the ghost of 'I hope they complain') :=] ) NP. I am relying on you to test vim mode. I gave myself an early birthday present (I turn 65 tomorrow) and disabled vim mode. Hahahahahaha. But as the post says, there are advantages to vim mode even when it is not enabled. dired-like operation will be one of them: access to : commands will be another. EKR -- 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.
