Hi,
I am not sure whether the following feature is already available. If it is already there please guide me.
Everytime I want to choose an option from the Select menu I have to go through the up and down keys to choose the option.
For example:
In the above case, if I have to select the last option i.e 'd', I will have to press the down key 4 times to select it or might have to type the whole sentence to reach that option.
I have a suggestion to map some key as up and down button when I have the options menu selected. Like in fuzzy-finder Ctrl + N and Ctrl + P works as up and down.
I am not great with CoffeeScript. Tell me if I could help with some thing.
Thanks
This is an interesting feature request. I use a system-wide vim keyboard toggle which translates j/k to up and down, and I use that when manipulating option boxes.
Note that mapping j/k to up and down for option boxes would eliminate the ability to type-out the name of the option (e.g. "john") and have that selected for you, although I rarely use that option.
Another binding which could work for mac users is to bind C-n and C-p for this (next and previous). We already use that binding in the vomnibar.
Note that mapping j/k to up and down for option boxes would eliminate the ability to type-out the name of the option (e.g. "john") and have that selected for you, although I rarely use that option.
People who live in Japan, or the Swiss canton of Jura, probably use this option a fair amount. Or perhaps Korea and Kensington.
We are already using Ctrl + j & Ctrl + k for toggling up and down in Vomnibar. I think we should use the same for this too. So this will become uniform in Vimium.
And this shall also avoid the problem you mentioned. We will be able to normally type "john" and have it selected for us. If we use Ctrl + j than we can toggle.
We are already using Ctrl + j & Ctrl + k for toggling up and down in Vomnibar. I think we should use the same for this too.
Good idea.
Sgtm. Will need to be documented somewhere; it's not at all discoverable.
On Wed, Nov 19, 2014, 10:35 PM Stephen Blott [email protected]
wrote:
We are already using Ctrl + j & Ctrl + k for toggling up and down in
Vomnibar. I think we should use the same for this too.Good idea.
—
Reply to this email directly or view it on GitHub
https://github.com/philc/vimium/issues/1242#issuecomment-63767062.
+1 to have this feature in vimium
Could we have CTRL-P and CTRL-N work only when select is open?
Also, it would be great if a similar behavior became available when autofill pops up in a text input.
I would also like this feature, and I am interested in trying to implement it. I have never contributed to Vimium before, would this be a good first issue to work on?
perhaps the full list of navigation commands would fit? would be nice for long select lists
C-j down one
C-k up one
C-gg first option
C-G last option
C-d down half of visible list
C-u up half of visible list
C-/ enter search mode
would also wonder if there is a good "mode" for the more general case of working with forms. compared to how effortless it feels to move around a page, working with forms requires a bit more mental overhead. (i.e. find input by label/placeholder text, concept of insert/normal modes entry, jump to submit button, undo).
In my memory, no Javascript can be run when a <select>
is open... Am I wrong on latest versions of Chrome / Firefox?
Most helpful comment
+1 to have this feature in vimium