]> git.gir.st - VimFx.git/blob - README.md
Merge pull request #936 from strel/master
[VimFx.git] / README.md
1 # VimFx – Vim keyboard shortcuts for Firefox
2
3 **Note:** VimFx is a _legacy_ Firefox extension, which is **not** [compatible
4 with Firefox 57+][firefox-57+]. (And never will be.)
5
6 If you’re looking for a replacement for VimFx, check out these extensions:
7
8 - [Vimium-FF]
9 - [Saka Key]
10 - [Vim Vixen]
11 - [Tridactyl]
12
13 (VimFx won’t be updated to work with newer Firefox versions, because it is a big
14 task that nobody has felt like tackling. However, the source code is free, so if
15 you feel like giving it a shot you can totally do so!)
16
17 [firefox-57+]: https://support.mozilla.org/en-US/kb/firefox-add-technology-modernizing
18 [Vimium-FF]: https://addons.mozilla.org/firefox/addon/vimium-ff/
19 [Saka Key]: https://addons.mozilla.org/firefox/addon/saka-key/
20 [Vim Vixen]: https://addons.mozilla.org/firefox/addon/vim-vixen/
21 [Tridactyl]: https://addons.mozilla.org/firefox/addon/tridactyl-vim/
22
23 ---
24
25 <img src="extension/skin/icon128.png" alt="" align="right">
26
27 VimFx is a Firefox extension which adds short, Vim-style keyboard shortcuts
28 for browsing and navigation, for a near mouseless experience.
29
30 - Doesn’t change your browser in any way. Everything can be disabled.
31 - Easy for beginners, powerful for advanced users. Not just for Vim fanatics.
32 - Modeled after [Vimium] for Chrome.
33
34 **New to VimFx?** Check out [Questions & Answers]!
35 Power user? Make a [config file]!
36 In either case, have look at the the [documentation] and the [wiki].
37
38 VimFx is made by [these awesome people][people].
39
40 [Vimium]: http://vimium.github.io/
41 [Vimperator]: http://www.vimperator.org/vimperator
42 [config file]: https://github.com/akhodakivskiy/VimFx/blob/master/documentation/config-file.md
43 [documentation]: https://github.com/akhodakivskiy/VimFx/tree/master/documentation#contents
44 [wiki]: https://github.com/akhodakivskiy/VimFx/wiki
45 [Questions & Answers]: https://github.com/akhodakivskiy/VimFx/tree/master/documentation/questions-and-answers.md
46 [people]: https://github.com/akhodakivskiy/VimFx/blob/master/PEOPLE.md
47
48 ## Why VimFx was created
49
50 > Even before [Vimium] there was [Vimperator] for Firefox. In my opinion,
51 > Vimperator has too many features and aggressively changes the default Firefox
52 > appearance and behavior. Vimium is exactly what I need in terms of added
53 > functionality, but for Chrome. That’s why I decided to develop a similar
54 > extension for Firefox.
55 >
56 > &nbsp;**VimFx will be nice to your browser and to your habits. Promise.**
57 >
58 > – _Anton Khodakivskiy,_ VimFx’s original author.
59
60 ## Key Features
61
62 VimFx has concise shortcuts for most commonly performed actions. Many simply
63 invoke standard Firefox features. That is preferred over re-implementing similar
64 functionality.
65
66 Press <kbd>f</kbd> to mark links, text inputs and buttons on the page. Then
67 either type the [_hint_ or the _text_][hint-chars] of a marked element to click
68 it. This command has many variations, for example to copy links or open them in
69 new tabs.
70
71 Search with <kbd>/</kbd> and cycle between matches with <kbd>n</kbd> and
72 <kbd>N</kbd>.
73
74 Open a new tab with <kbd>t</kbd>, close it with <kbd>x</kbd>. Reopen it again
75 with <kbd>X</kbd>. Switch between tabs with <kbd>J</kbd> and <kbd>K</kbd>, or
76 some of the several other tab commands.
77
78 Scrolling left/down/up/right: <kbd>h</kbd>, <kbd>j</kbd>, <kbd>k</kbd>, <kbd>l</kbd>.
79 Top/Bottom: <kbd>gg</kbd>, <kbd>G</kbd>.
80 Page up/down: <kbd>space</kbd>, <kbd>shift-space</kbd>.
81 Half a page: <kbd>d</kbd>, <kbd>u</kbd>.
82
83 Use [Caret mode] to copy text without using the mouse.
84
85 There are of course many more shortcuts! Press <kbd>?</kbd> to see them all, and
86 then <kbd>/</kbd> to search among them. Click on a command or open VimFx’s
87 [options] page in the Add-ons Manager to customize the [default shortcuts].
88
89 You can temporarily disable VimFx by using Ignore mode. Press <kbd>i</kbd> to
90 enter it, and <kbd>shift-escape</kbd> to exit. Use the [blacklist] to
91 automatically enter Ignore mode on specific sites.
92
93 There’s also an [article on ghacks.net][ghacks] which is a good introduction.
94
95 [hint-chars]: https://github.com/akhodakivskiy/VimFx/blob/master/documentation/options.md#hint-characters
96 [Caret mode]: https://github.com/akhodakivskiy/VimFx/blob/master/documentation/commands.md#the-v-commands--caret-mode
97 [options]: https://github.com/akhodakivskiy/VimFx/blob/master/documentation/options.md
98 [default shortcuts]: https://github.com/akhodakivskiy/VimFx/blob/master/extension/lib/defaults.coffee
99 [blacklist]: https://github.com/akhodakivskiy/VimFx/blob/master/documentation/options.md#blacklist
100 [ghacks]: http://www.ghacks.net/2016/07/01/vimfx-improve-firefox-keyboard-use/
Imprint / Impressum