Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So, I'm addicted to vim and often add lots of garbage to regular text fields when I try to use vim commands and am not in vim. I thought to myself, why can't vim be EVERYWHERE?!

Then it struck me. Why not? Has anyone written a program that could redirect input/current text fields into a vim buffer so that one could use vim-style editing in things other than terminals and gVim? Redirect keyboard input? Alter a key-logger?

Any thougts as to how it could be done?$wdw thoughtsA I did it again. I need serious help. Ideas, anyone?

UPDATE: More in need. I just got an email with this as the tail end of it:

Campus librarians will be happy to work with faculty and students to identify alternative high-quality sources of scientific news reporting and analysis.

:r signature

Its nice to know there are others.

share|improve this question
You need a :s/\$wdw /^wce/.^[:wq – intuited Apr 17 '10 at 22:45

I use vi-style editing in bash and vimperator for web browsing with firefox (sadly doesn't have :vsplit). In firefox the fantastic It's All Text! plugin configured to use gvim makes input boxes (likes this one) less crappy. mutt picks up my $EDITOR without problems (tell Karen to set that variable, too).

I guess that's all I ever do outside of vim.

share|improve this answer
I'll be checking vimperator for possible chrome extensions regularly. If I used Firefox, this would be awesome. It's a great start; thanks a lot! – physicsmichael Apr 15 '10 at 23:49
I followed some vimperator forums to vrome for chrome. I haven't gotten it to work, but for the sake of others there is an option. – physicsmichael Apr 15 '10 at 23:55
You can also try uzbl for a similar feel, but it needs a lot of work to get the features one is used to from "normal" browsers. – Benjamin Bannier Apr 16 '10 at 0:24

I've not seen anything to allow this, but it sounds like it could be handled by writing a module to plug into an IM such as SCIM or IBus.

share|improve this answer
Thanks for a starting point! – physicsmichael Apr 15 '10 at 23:22

This isn't exactly what you are looking for, but I also have experienced the desire for vim keybindings everywhere. One solution I've used is Touch Cursor, which I mapped so that my home row keys would allow me to navigated my cursor. The default arrangement is not vim-like, but you can easily change that. It may take some getting used to holding the space bar to achieve chords, but I found it pretty natural.

These are some other programs that offer application-specific solutions: I use Viemu, which provides a vim emulation layer in Visual Studio 2005/2008, Outlook and Word.

There is also a new chrome extension that adds vim-like keybindings for browsing as well called Vimium.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .