form another thread:

> This opens up *all* Leo commands to vim's dot command.  It's big.


ok, so all this dot command talk has got me wondering what the heck *is*
vim's dot command and why is having access to it big?

Some useful bus stops on the tour:

   -  .  means Repeat last text changing
command<http://vim.wikia.com/wiki/Repeat_last_change>,
   e.g. moving around is ignored (sort of, see next pages!)
   - Can someone explain to me why the dot (.) command is so useful in
VIM?<http://stackoverflow.com/questions/7325052>
   - Okay, so you have to eat a lot of dishes before getting to the dot
   command dessert, but this is a must not be missed
feast<http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim?rq=1>.

   - (Leaving aside what this <http://stackoverflow.com/a/1218429/14420>teaches
   about visual mode selection in vim, I learned that apparently Camtasia can
   save videos as animated gifs also, making mini-screencasts using minimal
   bandwidth possible. Very cool!)

To close with a different song:

*It's the fact that learning vi/vim is an activity that will take a long
time (weeks to months), and that the first experience is not pleasant. I
take it this is the main reason why vi/vim editing isn't, and will never
be, a popular thing. You need to invest quite some effort to learn,
memorize, and internalize the 30 or so commands that start making you more
productive than with other editors. ... not an easy task. It's easy to
throw in the towel and go back to familiar jedit or pico or ... But once
the effort to learn it has been made, I know of no one who goes back.* --
from "Why, oh WHY, do those #?@! nutheads use
vi?<http://www.viemu.com/a-why-vi-vim.html>"
[emphasis added]

It's my feeling that Leo will always be hard to grok, to find the
*Aha!*which engenders a willingness to stick around. This paragraph
about vi/vim
gives me heart, being hard is okay.

Not for a moment do I mean I think we should lessen the striving to make it
easier for people to find the nuggety centre. There's been a lot of (good)
discussion the last while about Leo's lack of popularity, it's relatively
unfriendly new user experience, along with a lot of worthy endeavour to
counter that; great stuff! Let's do more! ...but if knocking off more rough
corners doesn't bring in the hordes and keep Leo on the font page of Planet
Python, that's quite okay. :-)

-matt


On Sat, Nov 16, 2013 at 5:23 AM, Edward K. Ream <[email protected]> wrote:

> On Saturday, November 16, 2013 3:51:43 AM UTC-6, Edward K. Ream wrote:
>
>
>> 1. When focus is in the tree we could use:
>>
>> - j: same as Down-Arrow, goto-next-visible
>> -k: same as Up-Arrow, goto-prev-visible
>> -h: same as Left-Arrow, contract-or-go-left
>> -l: same as Right-Arrow, expand-and-go-right
>>
>
> Similarly, the key binding for cut/paste text in the body pane could be
> extended to cut/paste nodes when in the outline pane.
>
>
> > To make this work vc.exec_ will execute a **vim command wrapper**
>
> This term is misleading.  We simply need to execute code in vc.exec_, and
> probably k.masterCommandHandler and it's helpers (possibly even
> c.doCommand).  These will do whatever is needed to support the *illusion*
> that all happens smoothly.  The code outside leoVim.py will simply test
> c.vim_mode and call callbacks in c.vimCommands as needed.
>
> It's all straightforward, if a bit kludgy.  That's the situation now ;-)
> If you doubt that, just look at k.masterKeyHandler and its helpers.
>
> 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/groups/opt_out.
>

-- 
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.

Reply via email to