[implementations-list] h/j/k/l keys in Info mode (was: How important is a Vimpulse user manual? ...)

Jason Spiro jasonspiro3 at gmail.com
Thu Feb 11 02:40:15 CET 2010

On Wed, Feb 10, 2010 at 3:18 PM, Vegard Øye <vegard_oye at hotmail.com> wrote:

>> From: jasonspiro3 at gmail.com
>> Date: Wed, 10 Feb 2010 03:52:13 -0500


>> I think people can just use the arrow keys and Enter in Info mode. :)
> Yes. But to the seasoned Vim user with his hands at the home row, the
> annoyance will be there. (If you're going to use Vim keys in Emacs,
> you're probably somewhat seasoned. :)


> Anyway, I added some utility code to vimpulse-misc-keybindings.el in
> changeset [58] to address this in time. The idea is that there are two
> forms of vi navigation: the "core" commands, like h/j/k/l, and the
> rest. The core commands should, in general, be available in every
> mode, even if this means overwriting the mode's own bindings for these
> keys. On the other hand, the rest of the vi navigation commands -- w,
> e, b, f, etc. -- are optional: they are only added if their keys don't
> already do something else. Thus w may move forward by words or it may
> not, while h always moves one character to the left, no matter what.


Interesting.  I see, looking at the changeset[*], that this doesn't
yet affect Info mode unless you uncomment the several lines of
commented-out code starting with
        eval-after-load 'info
in vimpulse-misc-keybindings.el.

If you uncomment those lines, then in Info mode, what can you press to
go back to the last Info node you read before?  Surely "l", the "Last
node" key, won't work.


^  [*].  http://my-trac.assembla.com/vimpulse/changeset/58

More information about the implementations-list mailing list