Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tridactyl

> 编程语言
Open source

A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.

6.3K stars0 likes2 views
WebsiteGitHub

About

A Vim-like interface for Firefox, inspired by Vimperator/Pentadactyl.



Tridactyl

Replace Firefox's default control mechanism with one modelled on the one true editor, Vim.

Installation • Changelog • First Look • Features • FAQ • Contributing


## Installation [Click this link in Firefox to install our latest "beta" build][riskyclick]. If it doesn't install automatically, you may need to 1) rename the extension from `.zip` to `.xpi` and 2) open it with Firefox; a fool-proof method is to go to `about:addons`, click the extensions tab, click the cog in the top right, then click "Install Add-on From File...". If you want more options, read on. ### Stable Our "stable" builds are essentially just frozen versions of our beta builds. Our beta builds themselves are not much less stable; all our developers and about half of our users use the beta builds. Stable builds, however, do get new features documented in the changelog, whereas beta builds get new features before they are documented there. #### Arch Linux Run `pacman -S firefox-tridactyl` in a terminal and then restart Firefox _twice_. #### All other operating systems (Microsoft Windows, Macintosh, Linux etc.) Tridactyl stable can be installed from the [Mozilla add-ons website (the AMO)][amo]. ### Beta [Click this in Firefox to install our "beta" builds][riskyclick]. These [betas][betas] used to be updated with each commit to master on this repo but are now built manually when bovine3dom remembers - see [issue #3605](https://github.com/tridactyl/tridactyl/issues/3605). Your browser will automatically update from there once a day. If you want more frequent updates, you can change `extensions.update.interval` in `about:config` to whatever time you want, say, 15 minutes (900 seconds). There is also another beta build that comes without a new tab page. You can get it from [here][nonewtablink]. ### Extra features through [Native Messaging](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging) If you want to use advanced features such as edit-in-Vim, you'll also need to install the native messenger or executable, instructions for which can be found by typing `:nativeinstall` and hitting enter once you are in Tridactyl. Arch users can install the [AUR package](https://aur.archlinux.org/packages/firefox-tridactyl-native/) `firefox-tridactyl-native` instead. #### Containerized/sandboxed Firefox Installations **Snap and Flatpak:** Native Messaging support here is fairly recent and may require: - Upgrading to a beta version of Firefox (`>= 106.0b6`) - Enabling webextension permissions: `flatpak permission-set webextensions tridactyl snap.firefox yes` - Rebooting your system (and likely nothing short of it) See [this call for testing thread](https://discourse.ubuntu.com/t/call-for-testing-native-messaging-support-in-the-firefox-snap/29759) and [this PR](https://github.com/tridactyl/tridactyl/pull/4406) for more details and troubleshooting tips. **Firejail** will require explicit path whitelisting, but should be feasible based on https://github.com/netblue30/firejail/issues/2109. For other containerized installs, see troubleshooting steps in https://github.com/tridactyl/tridactyl/issues/2406 and the links above. With packaging that does support Native Messaging, the trick is usually ensuring the containerized app has permission to run the executable and can find the [manifest json file](https://wiki.mozilla.org/WebExtensions/Native_Messaging#Host_Manifests). ### Migrating between beta and stable builds Our beta and stable versions store their configurations in separate places. To migrate between the two, see [the wiki](https://github.com/tridactyl/tridactyl/wiki/Migration-from-stable-to-beta). ## Changelog The changelog for the stable versions can be found [here](https://github.com/tridactyl/tridactyl/blob/master/CHANGELOG.md). ## First look Type `:help` or press `` for online help once you're in, or `:tutor` for a friendly introduction. You might also find the [unofficial Tridactyl Memrise course](https://app.memrise.com/community/course/5995499/tridactyls-main-shortcuts/) (requires login) useful for memorising keybinds. Remember that Tridactyl cannot run on any page on about:\*, data:\*, view-source:\* and file:\*. We're sorry about that :( If you're enjoying Tridactyl, or not, please leave a review on the [AMO](https://addons.mozilla.org/en-US/firefox/addon/tridactyl-vim/reviews/). ## Highlighted features Like Vim, Tridactyl is modal, with the default mode being "normal mode". In "normal mode", many functions are available using keybindings. In "command mode" (when the command line is shown), you can execute more complex commands, known as "ex-commands". All Tridactyl functionality can be accessed by ex-commands. You can bind any ex-command to a normal-mode shortcut. We also support a `.tridactylrc` file, of which there is an example in the root of this repository. ### Default normal-mode bindings This is a (non-exhaustive) list of the most common normal-mode bindings. Type `:help` to open the online help for more details. - `:` — activate the command line - `Shift` + `Insert` — enter "ignore mode". Press `Shift` + `Insert` again to return to "normal mode". - `ZZ` — close all tabs and windows, but only "save" them if your about:preferences are set to "show your tabs and windows from last time" - `.` — repeat the last command - `` – send a single keystroke to the current website, bypassing bindings You can try `:help key` to know more about `key`. If it is an existing binding, it will take you to the help section of the command that will be executed when pressing `key`. For example `:help .` will take you to the help section of the `repeat` command. #### Navigating with the current page - `j`/`k` — scroll down/up - `h`/`l` — scroll left/right - `^`/`$` — scroll to left/right margin - `gg`/`G` — scroll to start/end of page - `f`/`F`/`gF` — enter "hint mode" to select a link to follow. `F` to open in a background tab (note: hint characters should be typed in lowercase). `gF` to repeatedly open links until you hit ``. - `gi` — scroll to and focus the last-used input on the page - `r`/`R` — reload page or hard reload page - `yy` — copy the current page URL to the clipboard - `[[`/`]]` — navigate backward/forward though paginated pages, for example comics, multi-part articles, search result pages, etc. - `]c`/`[c` — increment/decrement the current URL by 1 - `gu` — go to the parent of the current URL - `gU` — go to the root domain of the current URL - `gr` — open Firefox reader mode (note: Tridactyl will only work on our own `:reader` command which has complicated security implications) - `zi`/`zo`/`zz` — zoom in/out/reset zoom - ``/`` — jump to the next/previous part of the page - `g?` — Apply Caesar cipher to page (run `g?` again to switch back) - `g!` — Jumble words on page #### Find mode Find mode is still incomplete and uses the Firefox feature "Quick Find". This will be improved eventually. - `/` — open the Quick Find search box - `/` then `` — open the Find in page search box - ``/`` — find the next/previous instance of the last find operation (note: these are the standard Firefox shortcuts) Please note that Tridactyl overrides Firefox's `` search, replacing it with a binding to go to the next part of the page. If you want to be able to use `` to search for things, use `` after opening the Quick Find box (`/`), or any input field such as the address bar or search bar (use default browser shortcuts to activate these). To allow usage of `` at any time, use `unbind ` to unset the scrollpage binding. #### Bookmarks and quickmarks - `A` — bookmark the current page - `a` — bookmark the current page, but allow the URL to be modified first - `M` — bind a quickmark to the given key - `go`/`gn`/`gw` — open a given quickmark in current tab/new tab/new window If you want to use Firefox's default `` binding to open the bookmarks sidebar, make sure to run `unbind ` because Tridactyl replaces this setting with one to go to the previous part of the page. #### Marks - `m a-zA-Z` — set a local mark (lowercase letter), or a global mark (uppercase letter) - `` ` a-zA-Z `` — jump to a local mark (lowercase letter), or a global mark (uppercase letter) - ` `` ` — jump to the location before the last mark jump #### Navigating to new pages: - `o`/`O` — open a URL (or default search) in this tab (`O` to pre-load current URL) - `t`/`T` — open a URL (or default search) in a new tab (`T` to pre-load current URL) - `w`/`W` — open a URL (or default search) in a new window (`W` to pre-load current URL) - `p`/`P` — open the clipboard contents in the current/new tab - `s`/`S` — force a search using the default Tridactyl search engine, opening in the current/new tab. This is useful when searching for something that would otherwise be treated as a URL by `o` or `t` - `H`/`L` — go back/forward in the tab history - `gh`/`gH` — go to the pages you have set with `set home [url1] [url2] ...` #### Handling tabs - `d` — close the current tab - `u` — undo the last tab/window closure - `gt`/`gT` — go to the next/previous tab - `g^ OR g0`/`g$` — go to the first/last tab - `ga` — go to the tab currently playing audio, or the one that most recently stopped - `` — go to the last active tab - `b` — bring up a list of open tabs in the current window; you can type the tab ID or part of the title or URL to choose a tab #### Extended hint mode Extended hint modes allow you to perform actions on page items: - `;i`/`;I` — open an image (in current/new tab) - `;s`/`;a` — save/save-as the linked resource - `;S`/`;A` — save/save-as the selected image - `;p` — copy an element's text to the clipboard - `;P` — copy an element's title/alt text to the clipboard - `;y` — copy an element's link URL to the clipboard - `;#` — copy an element's anchor URL to the clipboard - `;r` — read the element's text with text-to-speech - `;k` — delete an element from the page - `;;` — focus an element Additionally, you can hint elements matching a custom CSS selector with `:hint -c [selector]` which is useful for site-specific versions of the standard `f` hint mode. ### Binding custom commands You can bind your own shortcuts in normal mode with the `:bind` command. For example `:bind gD composite tabduplicate; tabdetach` to duplicate and detach the current tab. See `:help bind` for details about this command. ## WebExtension-related issues - Navigation to any about:\* pages using `:open` requires the native messenger. - Firefox will not load Tridactyl on about:\*, some file:\* URIs, view-source:\*, or data:\*. On these pages `` - that's "Ctrl-Comma" - and the `tri` [omnibox keyword](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Omnibox) are your escape hatches. - addons.mozilla.org is not supported. - Tridactyl now supports changing the Firefox GUI if you have the native messenger installed via `guiset`. There's quite a few options available, but `guiset gui none` is probably what you want, perhaps followed up with `guiset tabs always`. See `:help guiset` for a list of all possible options. ## Frequently asked questions (FAQ) - Why doesn't Tridactyl work/why does i

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptfirefoxhacktoberfestvimwebextension

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言