Skip to content

Implements go-to-first-input#133

Merged
nbelzer merged 1 commit intotelevator-apps:masterfrom
isundaylee:go-to-first-input
Aug 12, 2020
Merged

Implements go-to-first-input#133
nbelzer merged 1 commit intotelevator-apps:masterfrom
isundaylee:go-to-first-input

Conversation

@isundaylee
Copy link
Copy Markdown
Contributor

Implements the functionality of focusing the first input on the page (preferring the first input in the current view area if one exists). Inspiration and general algorithm are from sVim.

For example, on a Google results page, pressing g i will focus the search box so that the user can type in a new query.

Default key binding set to g i.

@isundaylee
Copy link
Copy Markdown
Contributor Author

Just tested my rebased version on the newer upstream. Seems to work as expected. Would there be any interests in merging this? This seems to be a requested feature.

Thanks!

@aayushshah15
Copy link
Copy Markdown

@danielcompton are there any blockers to merging this? Anecdotally speaking, this is one of the most commonly used features among vimium users (on both chrome and firefox).

@paldepind
Copy link
Copy Markdown

Looks good to me 👍. I think this should be merged.

'scrollDownHalfPage': 'd',
'goToPageTop': 'g g',
'goToPageBottom': 'shift+g',
'goToFirstInput': 'g i',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is causing a conflict as js/settings.js is replaced by json/defaultSettings.json. If you would be able to add this line there instead I would like to merge this.

@isundaylee
Copy link
Copy Markdown
Contributor Author

@nbelzer Just rebased on master and pushed the change. I couldn't test it after the rebase though - so it'd be great if you can help build and test it.

Thank you for looking at this!

@nbelzer
Copy link
Copy Markdown
Collaborator

nbelzer commented Aug 12, 2020

@isundaylee Thanks, it works. Will be merging this.

@nbelzer nbelzer merged commit 8c4d66b into televator-apps:master Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants