Please make Control+L focus the search bar, like how Web browsers focus their URL address bar.
See http://www.howtogeek.com/114518/47-keyboard-shortcuts-that-work-in-all-web-browsers/
Thanks, I'll add it shortly. Currently Escape does that, I cannot say I am happy with the choice.
Making Zeal behave more like traditional web browsers is only of my goals. Also, configurable shortcuts could be a good option as well.
Related issues: #10 and #62.
I've just discovered that we also have ? shortcut for selection of the current query without prefix. Not sure if anyone is aware about this. :)
I am implementing Ctrl+L right now. It will select the current search term without prefix (if any), and then select everything on the second press.
LOL, further investigation has shown that there's also Ctrl+K for the same purpose.
For the sake of the history:
?: 6c45498212351a341d987f64affdae5ebe0d93d3
Ctrl+K: a4125be39f64440377612f08effb6fbfb2cea08a
From *NIX perspective, ? is also strange. I would expect / to search instead (it works in Firefox). :sweat_smile:
Update: Zeal already supports / for searching _within_ current page, so please disregard my comment.
After some thinking, I have become less confident in this particular case. Firefox and Chromium support F6, Alt+D, Ctrl+L to focus address bar, and Ctrl+K allows to select search bar (In Chromium it switches address bar to search-only mode).
In Zeal the search bar is really just a search bar, not an address bar. It does not update when one's navigates through pages. To be consistent with browsers keeping Ctrl+K as the only shortcut is the right way.
I have some plans to add a breadcrumbs panel like the one Dash has. It might be that Ctrl+L et al. would work for focusing such panel better.
There's also Ctrl+E for activating the search mode in Chromium and Opera.
So many different options :)
True. :scream_cat: I think that documenting ? and / keys might suffice: I use them regularly now.
Hitting Ctrl+K in Firefox opens a new page over here.
Be it named address- or search-bar, every popular browser lets you search by hitting Ctrl+L and entering a search term, so that Zeal would be most intuitive if it let you search by hitting Ctrl+L and entering a search term.
Since then, any make news on making Ctrl+L focus the search field too? The breadcrumbs search bar? It would make Zeal more intuitive.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for a related request.
Most helpful comment
I've just discovered that we also have ? shortcut for selection of the current query without prefix. Not sure if anyone is aware about this. :)
I am implementing Ctrl+L right now. It will select the current search term without prefix (if any), and then select everything on the second press.