It's All Text!

Type
Status
Concerning

One of my favorite Firefox extensions these days is It's All Text!. This extension lets you use alternative text editors to edit the text in text boxes.

Now, big wimps like to edit their text in WYSIWYG editors. Not me. I like to use vim.

Okay, so "It's All Text!" allows us to give a command line to start a text editor. What command do we give to start vim?

Well, we could use gvim. But I vastly prefer to run vim in my normal gnome terminal.

Therefore, I created a script, /opt/termvim/termvim, which reads:

  1. #!/bin/sh
  2.  
  3. gnome-terminal --command="vim $@"

After making it executable, I can then set my editor in firefox by going to Tools > It's All Text! > Preferences. For "Editor", I set /opt/termvim/termvim.

Boom. I can use vim on the web.

Your rating: None Average: 3.1 (7 votes)

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
  _                   _                        
| |__ _ _ __| | ___ __ __ __ _
| '_ \ | | | | / _` | / __| \ \ / / / _` |
| |_) | | |_| | | (_| | | (__ \ V / | (_| |
|_.__/ \__, | \__,_| \___| \_/ \__,_|
|___/
Enter the code depicted in ASCII art style.