* Smylers <smyl...@stripey.com> [2009-01-22 18:30]: > I desire for Vim to detect when it has been launched from > within Firefox (to edit a text area or whatever[*1].
The correct answer is mu. Configure the extension to pass something like `--cmd 'let g:in_firefox=1'` or `-s textarea.vim` to vim. Alternatively use a wrapper script that does that, or maybe sets an env var of your choosing. Avoid dependencies of any form wherever possible. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>