> On Fri, Aug 22, 2014 at 6:35 AM, Kent Tenney <[email protected]> wrote:

> V  - in vim, selects line regardless of cursor
> :q closes current tab in vim, exits Leo session in Leo
> in vim, dd followed by p or P will paste the deleted line

All these should now be fixed in various recent revs:

- V now enters visual-line mode from normal mode, rather than just
selecting the entire line.

- All forms of the d command, including {visual}d, paste the deleted
text to the clipboard.

- q: now works as you requested.

In addition, and very importantly, vim mode now quits any normal-mode
command if the user types an unexpected character.  I believe vim does
this too, but vim does so silently.

Leo's vim mode now provides *much* clearer feedback in such
situations. For example, if you type "yz" you will get the following
message::

    Ignoring z in normal mode after y

In all such situations, Leo completely clears the state by calling
vc.quit.  This should completely eliminate situations in which vim
mode appeared to have gotten "stuck".

Previously, if you typed "y" the y command was looking for just one or
two characters, and it ignored everything else(!)  A recent change
ensures that Ctrl-G completely resets vim mode as well, but clearing
the y command after a z is more vim-like and less confusing.

With these changes, all known vim-related bugs have been fixed.  Only
one more task remains, and that will be the subject of a new thread.

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.

Reply via email to