[Vimperator] Search command (s///) plugin

Sitaram Chamarty sitaramc at gmail.com
Wed Mar 5 17:42:47 PST 2008


On Thu, Mar 6, 2008 at 2:19 AM, Daniel Trstenjak
<Daniel.Trstenjak at online.de> wrote:
>  But I would love to be able to do something like:
>  e (edit textarea), select hint related to textarea.

As I understand it then, you want the "e" to do a subset of what "f"
currently does -- restricting itself to textareas only.

I don't see that the "e" is bound to anything, so it could be done.
Maybe a macro that works on hitting "e" that (1) sets the
'extendedhittangs' option to something that only contains "textarea"
etc., (2) does the "f" fucntion, and (3) resets the extendedhinttags
to the default.  I'm not sure if #3 is possible; it may have to be
done some other way (maybe a "noremap" of "f" that resets the option
then calls the real "f").

I think it's doable.

Or an even better solution is to have another option
(textareahinttags) that is used by "e" the same way that
"extendedhinttags" is used by "f".  But that requires code changes in
vimperator.


More information about the Vimperator mailing list