I am looking for a browser plugin which inputs textin of input boxes with the same keyboard interface of the Vim text editor. I have adopted Vimium which makes general navigation much more effective, however I often find my self wish I had the Vim interface while I have selected an input field (like while I'm creating this post). I would very much like to be able to navigate the text in the same way I edit file with the vim text editor and I am curious if such a plugin exists?


The Pentadactyl and Vimperator addons for Firefox allow vim-like editing in text areas by pressing ctrl+t; I think there is also an option to turn it on permanenly. There is also It's All Text! that will actually launch an editor for you.

As far as Chrome goes, it's not as easy, as the API is quite limited. They require you to run a server on your system. There was TextareaConnect, but it appears to be broken right now.

| improve this answer | |
  • I have finally dove into pentadactyll extension and I am very impressed! – rudolph9 May 9 '12 at 16:57
  • Note for re-discoverers: The latest versions of Firefox no longer support pentadactyl and vimperator – BlueDrink9 Feb 27 at 5:24
  • For a similar solution that works today, you can use Tridactyl, as per my answer: unix.stackexchange.com/a/582247/28896 – David Gay Apr 24 at 15:09

wasavi provides a vim interface for text boxes in multiple web browsers (Chrom(ium), Firefox/Iceweasel & Opera) and I can confirm that it works on Chromium on Linux (Debian 7 w/ Gnome3). Start it with <Ctrl><Enter>, lots more info on the home page below:

wasavi home page

Github page

for Chrom(ium)

Links for installing to Opera and Firefox/Iceweasel can be found on the home page (link above - I did include them but I can't post with more than 2 links...)

| improve this answer | |
  • 1
    It appears to lack visual block mode (at least in chrome) which is a big drawback, to me at least. – pseyfert Sep 13 '17 at 9:51
  • It also doesn't work with the hypothes.is on Chrome... – toraritte Jul 23 at 15:46
  • As for the visual block mode, here's the feature request (open since 2015): github.com/akahuku/wasavi/issues/104 – toraritte Jul 23 at 16:02

Adding to Shawn's answer, pentadactyl (and vimperator) allow you to press ctrl+i when in an text field to actually edit it in vim. It will save the contents of the text field to a temporary file, open that file in (g)vim, and read the (changed) contents back after closing the editor.

| improve this answer | |
  • 1
    this should be added a comment to his answer. – rudolph9 Apr 18 '12 at 17:54
  • 5
    I agree that it would have been better there, yeah. But I don't have enough rep to do that, and I did feel this was a valuable addition (as I personally find this feature quite useful), so I decided to do it this way instead. Sorry. – MaienM Apr 18 '12 at 18:34

If you're using Chrome, I recently release an open source Chrome extension called Vimsert. It'll let you edit any textarea within the Ace editor's vim-mode.


| improve this answer | |
  • it appears to have problems on the stackexchange and sharelatex sites though (ctrl+i is caught by the webpage and makes text italic, rather than launching the extension) – pseyfert Sep 13 '17 at 10:02

If you want to transform a textarea into a vim-like code editor, this bookmarklet allow you to transform any textarea into an ace by clicking three times on it. It support vim and emacs keybindings. You can select these at the bookmarklet creation page.

| improve this answer | |

A very modern solution to this problem is glacambre's Firenvim, which automatically overlays text input boxes with a neovim window that syncs to the content of that text box. This uses your system neovim, with associated config and plugins(!). Subjectively, I have found it to be a significantly smoother experience than alternatives like It's All Text, or even wasavi. In addition, it has a full modern neovim implementation rather than a custom vi-like implementation, so using it involves much less context switching than wasavi, vimsert, or vimperator (which is no longer supported on modern firefox).

Firenvim supports Firefox and Chrome officially, and other Chrome-like browsers unofficially.

It does, however, require neovim to be installed, and because you are typing in an Nvim UI, you lose things like the textbox's native font (nvim cannot support non-monospaced fonts).

| improve this answer | |

Tridactyl is probably what you're looking for nowadays, assuming you're willing to use Firefox.

It's the spiritual successor to the likes of Pentadactyl and Vimperator, which are not available for the current version of Firefox.

If you want something more like It's All Text, where the editing area appears right on top of the browser text area rather than launching an editor window, and you're willing to use Neovim, check out firenvim.

| improve this answer | |

I think the key F is your answer, so that it mark all input boxes with a number, then hit the number with which input field you want, as simple as it is. Enjoy it!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.