[Vimperator] mapping question
Martin Stubenschrott
stubenschrott at gmx.net
Sun Mar 23 05:35:26 PDT 2008
calmar wrote:
> hi Martin,
>
> I have now this:
>
> liberator.mappings.add([liberator.modes.NORMAL], [chh.mapNormal],
> "Start Custum-QuickHint mode",
> function () {
> liberator.plugins.charhints.show(liberator.modes.QUICK_HINT);});
>
> Well,
>
> with
>
> chh.mapNormal = "WQ" it works.
>
> with
>
> chh.mapNormal = "f" it uses the original hints.
>
> So it might won't overload the original 'f'.
liberator.mappings.addUserMap() is made for this (using the same args IIRC).
I am not sure, however, if addUserMap() works in a way, where :unmap
would actually work (restoring the old "f" mapping).
--
Martin
More information about the Vimperator
mailing list