[Vimperator] [patch] Mappings refactoring

Martin Stubenschrott stubenschrott at gmx.net
Tue May 29 10:16:11 PDT 2007


On Tue, May 29, 2007 at 07:54:40PM +0300, Виктор Кожухаров wrote:
> I just think it's easier to read that way, not that it's going to
> actually break anything (since it wont).

Understood, but disagreed :)

> > Also what two flags are you talking about?
> the two boolean arguments in the hint_mappings array for each element. I
> have no idea what they do.

Yeah, I just looked through the code, and thought about how to handle
them best, but I think these 2 flags should go away anyway and be
handled internally by the hint commands.

The flags indicate wheter the hint command like Esc is always active, or
whether only if a full hint was already typed (like y to yank). The other
flag indicates that we should exit hint mode after pressing the key.

--
Martin


More information about the Vimperator mailing list