2 This is part of the VimFx documentation.
3 Copyright Simon Lydell 2015, 2016.
4 See the file README.md for copying conditions.
9 ## How do I disable VimFx?
11 If you press `i` you will enter Ignore mode. VimFx’s toolbar [button] turns red
14 As you can see in VimFx’s Keyboard Shortcuts help dialog (which you can open by
15 pressing `?`), Ignore mode only has two shortcuts. That means that almost all
16 keypresses will be ignored by VimFx, and will be handled as if VimFx wasn’t
19 By adding `*currentdomain.com*` to the [blacklist] option you can make VimFx
20 start out in Ignore mode on currentdomain.com. (Set the option to `*` to make
21 VimFx start out in Ignore mode _everywhere._)
23 **The fastest way to edit the blacklist is to use the `gB` command.**
25 Finally, there’s nothing stopping you from hitting the “Disable” button in the
26 Add-ons Manager if you want to disable VimFx completely (just like you can with
30 [blacklist]: options.md#blacklist
32 ## How do I get out of Ignore mode?
34 Either press `<s-escape>` or click VimFx’s toolbar [button].
38 ## What does `<s-escape>` mean?
40 It means that you should press Escape while holding shift. In some other
41 programs it might be written as `Shift+Escape`, but not in VimFx’s [key
44 (`<s-escape>` is the default shortcut to exit Ignore mode.)
46 [key notation]: shortcuts.md#key-notation
48 ## VimFx’s shortcuts work in my English layout but not in my other layout!
50 If you use more than one keyboard layout, such as Russian plus English, enable
51 the [Ignore keyboard layout] option.
53 [Ignore keyboard layout]: options.md#ignore-keyboard-layout
55 ## Can I make Hints mode work with element text?
57 … **like Vimium, Vimperator and Pentadactyl** can?
59 Yes! By default, that is done by typing _uppercase_ characters (hold down
60 shift!). Have a look at how [hint characters] work for more information.
62 [hint characters]: options.md#hint-characters
64 ## How do I change the font size of hint markers?
66 Head over to the [Styling] documentation to learn how to do that.
70 ## How do I re-map Escape (which blurs text inputs)?
72 … for example, **to ctrl+[ ?**
74 First off, ctrl+[ is spelled `<c-[>` in VimFx. (Tip: [`<c-q>` helps you get the
75 “spelling” correct automatically][helper-shortcuts].)
77 Secondly, the default shortcut is not just `<escape>`, but actually
78 `<force><escape>`! Don’t forget [`<force>`] at the beginning, and your new
79 shortcut should work fine. For example:
83 Or, if you’d like to you both `<escape>` _and_ something else:
85 <force><escape> <force><c-[>
87 [`<force>`]: shortcuts.md#force
89 ## Re-mapping Escape doesn’t always work!
91 There are several default shortcuts which use `<escape>`. Apart from the Normal
92 mode command for blurring text inputs, the Caret, Hints, Find and Marks modes
93 have one command each for returning to Normal mode. All of these use `<escape>`.
95 Perhaps you forgot to re-map some of them?
97 ## Going back/forward doesn’t work!
99 Pressing `H` is like hitting the back button. Use `L` for the forward button.
101 `[` clicks the link labeled “Previous” on the page, and `]` the link labeled
102 “Next.” (See also [“Previous”/“Next” link patterns].)
104 [helper-shortcuts]: shortcuts.md#helper-keyboard-shortcuts
105 [“Previous”/“Next” link patterns]: options.md#previousnext-link-patterns
107 ## How do I switch tabs?
109 There are a bunch of VimFx commands for switching tabs, such as [`J` and `K`],
110 [`gl`], [`gL`][gl-1] as well as [`g0`, `g^` and `g$`].
112 Other than that, you can use the `eb` command to click tabs using hint markers.
114 Firefox’s location bar also searches among your open tabs, and lets you switch
115 to them. By typing a lone `%` in the location bar, _only_ open tabs are searched
116 for. See [Handy standard Firefox features][location-bar] for more information.
118 Finally, there’s nothing stopping you from also using [standard Firefox tab
121 [`J` and `K`]: commands.md#j-k
122 [`gl`]: commands.md#gl
123 [gl-1]: commands.md#gl-1
124 [`g0`, `g^` and `g$`]: commands.md#g0-g-g
125 [location-bar]: handy-standard-firefox-features.md#the-location-bar
126 [standard Firefox tab shortcuts]: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly#w_windows-tabs
128 ## Can I search in the Keyboard Shortcuts help dialog?
130 Yes! Pressing `/` while the help dialog is open makes a little search box appear
131 in the bottom-right corner of the window (instead of opening the find bar),
132 which is specialized at searching your keyboard shortcuts.
134 ## Can I edit shortcuts in the Keyboard Shortcuts help dialog?
136 Clicking on any command in it opens VimFx’s options page in the Add-ons Manager
137 and automatically selects the text input for that command. Tip: Use the `eb`
138 command to click without using the mouse.
140 ## Will VimFx provide advanced Find features?
142 One of VimFx’s key features is to embrace standard Firefox features. As long as
143 Firefox’s Find Bar doesn’t support for example reverse search (Vim’s `?`
144 command) or regex search, VimFx won’t either.
146 ## Switching between tabs works oddly when [NoScript] is installed!
148 This is a [known bug][noscript-bug] in NoScript. To work around it, either
149 switch to multi-process Firefox or set `noscript.clearClick.rapidFireCheck` to
150 `false` in [about:config].
152 You’re not really missing out security-wise by disabling
153 `noscript.clearClick.rapidFireCheck`. All it does is preventing one specific,
154 less common type of “clickjacking” attack, that isn’t even mentioned in
155 NoScript’s [ClearClick] documentation. It is, however, quickly mentionend in a
156 [blog post][hackademix-clickjacking] by NoScript’s author (which links to
157 another site explaining the attack in more detail).
159 See also [issue 588].
161 [NoScript]: https://noscript.net/
162 [noscript-bug]: https://forums.informaction.com/viewtopic.php?f=10&t=21597
163 [about:config]: http://kb.mozillazine.org/About:config
164 [ClearClick]: https://noscript.net/faq/#clearclick
165 [hackademix-clickjacking]: https://hackademix.net/2011/07/11/fancy-clickjacking-tougher-noscript/
166 [issue 588]: https://github.com/akhodakivskiy/VimFx/issues/588
168 ## My question isn’t listed here!
170 [Tell us][issue-tracker], and we’ll add it. Let’s make this a great resource for
173 [issue-tracker]: https://github.com/akhodakivskiy/VimFx/issues