V visual select line P paste on new line above O put cursor on new line above, enter insert mode
without V, I'm missing one of my most used idioms: Vyp or VyP copy line, paste above or below >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > I think vim-mode will be great for bringing the benefits of modal editing > to Leo users who don't know vim, experienced vim users will soon encounter > something that doesn't work and either complain or abandon. I hope they complain :-) It should be dead easy to add almost any vim feature. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> as more work is done on vim-mode, I check it again, find one of my must-haves not working. I don't mean to be ungrateful, but muscle memory is unforgiving. I am comfortable in vim, comfortable in Leo, don't have the cycles to learn another set of bindings: vim-in-leo. On Mon, Aug 11, 2014 at 10:24 AM, Edward K. Ream <[email protected]> wrote: >> There has been lots of progress in the last few days. > > Just about everything works now, except for dot-related issues. > > Please test vim mode and tell me what you think. It would be nice if > vim-mode users would acknowledge the huge amount of work that I have done > recently. If I don't hear from you, I'll assume that nobody is interested > and plan accordingly :-) > > Here are today's changes that affect vim-mode users: > > - Limited /,?,*,#,n to node-only searches. This is essential, imo. > - The / and ? commands now update the selection range properly in visual > mode. > - The status area now show command in inner motions in visual mode. > - The f,F,t,T commands now work regardless setting. > - Fixed a major bug affecting visual mode that was causing all sorts of > mischief: the code would get "stuck" in an inner mode handler. > - Added the :print-dot command. > - Added ge,gb,gh commands: same as $,0,^. > - h,j,k,l in outline work like the corresponding arrow keys in the tree > pane. > - 0 and e in the outline pane work like Alt-Home and Alt-End. > - Removed the ,, abbreviation/hack. > - Updated the vim-related docs on Leo's web site. > > And here are the code-level changes: > > - Used vc.do(leo-command-name), a wrapper for c.k.simulateCommand. The > result is a remarkable simplification of many key handlers. > - Added very effective debugging trace to vc.ignore. > - Added back-to-home-extend-selection command, for use by a key handler. > - Added code to check for missing motions in normal and visual mode dispatch > dicts. > > 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. -- 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.
