Want to use your favorite text editor to write text for online applications? Check out It’s All Text!
This add-on allows you to edit text from any “textarea” on a Web page in an external editor. Once it’s installed, you can configure the extension to use whatever your favorite editor happens to be. In my case Vim (GVIM, in this case), but you could also use Gedit, Kate, or any other editor that you prefer.
When you’re browsing, you’ll see a tiny blue button on the corner of textareas on any Web page. Doesn’t matter how large or small. Just click that and it’ll launch the external editor and you can type away. Whenever you save or close the document, it’ll be pasted directly into the text area on the Web page.
As an added bonus, if Firefox crashes (which never happens, of course) the text is saved in the external editor. All you have to do is restart Firefox and paste the text in.
Unfortunately, it only works with textareas on a page. So if you’re using Google Docs or a JavaScript-based WYSIWYG editor (like you’ll find in WordPress) then the add-on doesn’t work with that area. In the case of WordPress, though, if you switch to the HTML editor you’ll be able to use It’s All Text! just fine.
I firmly believe that all applications should use vi-like keybindings. Until that happens, though, I have to content myself with writing most of my text in Vim and then pasting into other applications when appropriate. At least with “It’s All Text!” I can get around that when using Firefox!
And, if I remember correctly, you can just hit “Alt-W” instead of clicking the little blue button.
Great extension, it makes editing html and, well, even forum posts, a breeze.
You’re not restricted to GUI editors, either. My setup of ItsAllText runs this script:
#!/bin/sh
konsole -e jstar -rmargin 65 -wordwrap $1
exit 0
…to bring up the jstar variant of joe in an xterm, with any quoted text already in the editor. That way I write up a posting in a WordStar-like environment, where I can think about what I’m saying instead of the mechanics of typing it in. Your preferred editor is probably different, but it needn’t be one with a GUI.
Good to know. Also, using the vimperator plugin, you can edit any textbox with vim (or other editor) by pressing ctrl+i
Ah, beautiful.
I have just installed this due to your suggestion and I thank you kindly. I prefer to use Vim WHENEVER I have to type more than a line of text.
“I firmly believe that all applications should use vi-like keybindings. ” Of course you are using Vimperator (http://vimperator.org/) then? This brings Vim keybindings to Firefox and I have never looked back. What an amazing piece of software, err, plugin. Check this out too and I promise you won’t be sad!