Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mod] preferences: implement drop-down menu for hotkeys (default, vim) #2795

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

return42
Copy link
Member

@return42 return42 commented Sep 16, 2023

What does this PR do?

Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down menu.

image

How to test this PR locally?

Start instance make run, go to the preferences and select a "hotkeys" layout, save the settings, do a query and press 'h' in the result list.

@BernieHuang2008 I cherry picked your commit in this PR and slightly modified the commit to fix an issue .. and I rewrote the commit message / thanks a lot for your patch 馃憤

Copy link
Member

@Bnyro Bnyro left a comment

Choose a reason for hiding this comment

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

Still works pretty well from my testings, and it's way more convenient than having a plugin for it instead 馃憤

@BernieHuang2008
Copy link
Contributor

You'll need further reviews and testings.

@BernieHuang2008
Copy link
Contributor

BernieHuang2008 commented Sep 17, 2023

I think mistakes like description/spelling is not so important now, because we will clean the code after this PR merged.

@Bnyro
Copy link
Member

Bnyro commented Sep 17, 2023

I think mistakes like description/spelling is not so important now, because we will clean the code after this PR merged.

Sure, but since we're already working on the files that contain the descriptions we can also just make this PR "perfect" and save time that would be needed for creating and reviewing new PRs.

return42 and others added 3 commits September 19, 2023 07:47
Replace the on/off checkbox of the vim-hotkeys in the preferences by a drop-down
menu.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
@return42
Copy link
Member Author

Rebased to solve conflict with preferences and build files .. going to merge to avoid further conflicts.

@return42 return42 merged commit 71508ab into searxng:master Sep 19, 2023
8 checks passed
@return42 return42 deleted the pref-hotkeys branch September 19, 2023 06:06
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.

None yet

3 participants