[Vimperator] [Patch] Proposition for another hint system : f* and f!
mahefa randimbisoa
mahefa.randimbisoa at gmail.com
Fri Jun 20 08:31:14 PDT 2008
>
> Well, just like \ can be changed with :let g:map_leader it should have
> a similar option for that key.
>
Here is a draft of the patch to achieve what I talked about.
I say it's a draft, but it realizes all the options I said in the previous mail.
It adds an option hintvoid (default=!) which you can type after f to
select only void elements.
This is the first time I'm sending a patch, I'm not sure the format is
correct. (Realized it with TortoiseSVN, the only tool I know and have
that can create the patch).
Can one please test it? To resume, this is how it works:
At any time after you type f, you can type * to switch to
alphabetic-driven hints, and after this, you type the letters shown in
the hint to select the link.
When you want to select void elements (links that have no text
associated like blank textareas, blank input, inputbox, ...), you type
! after the f. Only void elements will be hinted and hints are formed
with alphabetic characters only.
I'm not aware of some special coding guidelines and coding
styles/preferences, and I will really appreciate some helps from the
devs about how to do a proper patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hints.js.patch
Type: application/octet-stream
Size: 5543 bytes
Desc: not available
Url : http://www.mozdev.org/pipermail/vimperator/attachments/20080620/7034c8ef/attachment.obj
More information about the Vimperator
mailing list