Re: Vim Firefox Detection

2009-01-23 Thread Aristotle Pagaltzis
* Smylers [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 w

Vim Firefox Detection

2009-01-22 Thread Smylers
I desire for Vim to detect when it has been launched from within Firefox (to edit a text area or whatever[*1]. Initially I spotted I could do this with: if exists('$MOZILLA_FIVE_HOME') Then at some point Firefox (or whatever it was called at the time) hatefully stopped setting that variable.