-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements go-to-first-input #133
Conversation
85a86b0
to
9ef7df3
Compare
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! |
@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). |
Looks good to me 👍. I think this should be merged. |
Vimari Extension/js/settings.js
Outdated
@@ -17,6 +17,7 @@ function getSettings() { | |||
'scrollDownHalfPage': 'd', | |||
'goToPageTop': 'g g', | |||
'goToPageBottom': 'shift+g', | |||
'goToFirstInput': 'g i', |
There was a problem hiding this comment.
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.
9ef7df3
to
bf8f6b5
Compare
bf8f6b5
to
8c4d66b
Compare
@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! |
@isundaylee Thanks, it works. Will be merging this. |
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
.