From daf67a4d4229198bd642c44a5672f4feea8ad467 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Sat, 5 Nov 2016 19:32:41 +0100 Subject: [PATCH] Document how to switch tabs Refs. #831. --- .../handy-standard-firefox-features.md | 19 +++++++++-------- documentation/questions-and-answers.md | 21 +++++++++++++++++++ 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/documentation/handy-standard-firefox-features.md b/documentation/handy-standard-firefox-features.md index d2cbbea..733dd90 100644 --- a/documentation/handy-standard-firefox-features.md +++ b/documentation/handy-standard-firefox-features.md @@ -17,20 +17,21 @@ This section lists a few handy such standard features. Firefox’s location bar is sometimes called the “Awesomebar” because it is so powerful. Other than simply entering URLs, you can also use it to: -- Search through bookmarks. -- Search through history. -- Search through open tabs. +- Search through bookmarks. `*` +- Search through history. `^` +- Search through open tabs. `%` - Search using search engines. -Type a lone `*` to restrict the results to bookmarks only. Use `` to -open results in new tabs. There are [plenty more such tricks][location-bar]. +Type a lone `*`, `^` or `%` to search for _only_ bookmarks, history or tabs, +respectively. If you use this a lot, you might be interested in adding a [custom +command as a shortcut][location-bar-custom-command]. -If you use this a lot, you might be interested in the [Enter Selects] extension -and adding a [custom command as a shortcut][location-bar-custom-command]. +Use `` to open results in new tabs. + +Here’s [documentation for all of the cool Awesomebar features][location-bar]. [location-bar]: http://kb.mozillazine.org/Location_Bar_search -[Enter Selects]: https://addons.mozilla.org/en-US/firefox/addon/enter-selects/ -[location-bar-custom-command]: https://github.com/akhodakivskiy/VimFx/wiki/Custom-Commands#search-bookmarks +[location-bar-custom-command]: https://github.com/akhodakivskiy/VimFx/wiki/Custom-Commands#search-bookmarks--search-open-tabs ## Menus diff --git a/documentation/questions-and-answers.md b/documentation/questions-and-answers.md index a9ea975..00ae312 100644 --- a/documentation/questions-and-answers.md +++ b/documentation/questions-and-answers.md @@ -104,6 +104,27 @@ Pressing `H` is like hitting the back button. Use `L` for the forward button. [helper-shortcuts]: shortcuts.md#helper-keyboard-shortcuts [“Previous”/“Next” link patterns]: options.md#previousnext-link-patterns +## How do I switch tabs? + +There are a bunch of VimFx commands for switching tabs, such as [`J` and `K`], +[`gl`], [`gL`][gl-1] as well as [`g0`, `g^` and `g$`]. + +Other than that, you can use the `eb` command to click tabs using hint markers. + +Firefox’s location bar also searches among your open tabs, and lets you switch +to them. By typing a lone `%` in the location bar, _only_ open tabs are searched +for. See [Handy standard Firefox features][location-bar] for more information. + +Finally, there’s nothing stopping you from also using [standard Firefox tab +shortcuts]! + +[`J` and `K`]: commands.md#j-k +[`gl`]: commands.md#gl +[gl-1]: commands.md#gl-1 +[`g0`, `g^` and `g$`]: commands.md#g0-g-g +[location-bar]: handy-standard-firefox-features.md#the-location-bar +[standard Firefox tab shortcuts]: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly#w_windows-tabs + ## Can I search in the Keyboard Shortcuts help dialog? Yes! Pressing `/` while the help dialog is open makes a little search box appear -- 2.39.3