]> git.gir.st - VimFx.git/blob - documentation/handy-standard-firefox-features.md
VimFx v0.27.1
[VimFx.git] / documentation / handy-standard-firefox-features.md
1 # Handy standard Firefox features
2
3 One of VimFx’s key features is embracing standard Firefox features. That is
4 preferred over re-implementing similar functionality.
5
6 This section lists a few handy such standard features.
7
8
9 ## The location bar
10
11 Firefox’s location bar is sometimes called the “Awesomebar” because it is so
12 powerful. Other than simply entering URLs, you can also use it to:
13
14 - Search through bookmarks. `*`
15 - Search through history. `^`
16 - Search through open tabs. `%`
17 - Search using search engines.
18
19 Type a lone `*`, `^` or `%` to search for _only_ bookmarks, history or tabs,
20 respectively. If you use this a lot, you might be interested in adding a [custom
21 command as a shortcut][location-bar-custom-command].
22
23 Use `<c-enter>` to open results in new tabs.
24
25 Here’s [documentation for all of the cool Awesomebar features][location-bar].
26
27 [location-bar]: http://kb.mozillazine.org/Location_Bar_search
28 [location-bar-custom-command]: https://github.com/akhodakivskiy/VimFx/wiki/Custom-Commands#search-bookmarks--search-open-tabs
29
30
31 ## Menus
32
33 Use the `ec` command to open the context menu of elements. (If that fails, try
34 and see if the element can be focused using the `ef` command—if so, you should
35 be able to open the context menu using the `<menu>` key.)
36
37 Instead of clicking on menus, you can press `<a-accesskey>` where “accesskey” is
38 the underlined letter of the menu name. Sometimes the underlines aren’t visible
39 until you hold the `<alt>` key. In already open menus, you can type the access
40 key _without_ holding `<alt>`. If there is no access key for the menu item you
41 want to activate, you can usually start typing the name of the menu item to go
42 to it. This is a nice alternative to using the arrow keys. This is true for most
43 programs, not just Firefox.
44
45 Here are two examples where the above comes especially in handy for VimFx:
46
47 - You can use the `ec` command to open the context menu of an image, a link or a
48 video, providing you a plethora of things to do with the focused target, such
49 as saving an image or the target of a link. For videos, the access key for the
50 “Play/Pause” menu item is often `p`. This allows you, for example, to control
51 some video players using the keyboard.
52
53 - When using the `gH` command (which opens the back/forward button menu), or the
54 `gX` command (which opens the Recently Closed Tabs menu), you can start typing
55 the name of one the entries of the list to go to it (if you don’t feel like
56 using the good ol’ arrow keys and `<enter>`).
Imprint / Impressum