On Wed, Feb 10, 2010 at 3:18 PM, Vegard Øye <[email protected]> wrote:
From: [email protected] Date: Wed, 10 Feb 2010 03:52:13 -0500
[snip]
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. :)
Fair.
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.
[snip] 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. Cheers, -Jason ^ [*]. http://my-trac.assembla.com/vimpulse/changeset/58