Last Updated: February 25, 2016
·
737
· destructuring

Edit textareas in Firefox with MacVim

I'd rather be editing a wiki in vim with git on the command line, but sometimes you have to use a browser and its textareas. If you use Pentadactyl, pressing Ctrl-I can launch an editor like MacVim.

In your ~/.pentadactylrc, set the editor:

set editor="/Users/defn/local/bin/mvim -f"

I use the command line wrapper mvim to load MacVim. The -f prevents mvim from forking and fooling Pentadactyl into thinking the editor has quit.