Re: how to setup gvim as view source editor for Opera?

2007-03-18 Thread zzapper
Taylor Venable <[EMAIL PROTECTED]> wrote in 
news:[EMAIL PROTECTED]:

>> > 
>> > For Opera, open the preferences, click on the "Advanced" tag, then
>> > choose "Programs" from the list on the left.  At the bottom of the
>> > right-hand side, there's the option to set the source viewer
>> > program.
>> ## Couldn't see it for looking!###
> 
Yes that's where it is thanks
What I meant by above was that I was annoyed with myself that I hadn't seen 
it myself



-- 
zzapper
http://www.rayninfo.co.uk/vimtips.html



Re: how to setup gvim as view source editor for Opera?

2007-03-17 Thread Gary Johnson
On 2007-03-17, zzapper <[EMAIL PROTECTED]> wrote:
> Hi,
> I've forgotten how to setup gvim as view source editor for Opera (got a new 
> Vista PC). Also can anyone recommend the best solution for FireFox, I've only 
> got the one where viewing source with vim is an additional option

The Firefox plugin that does this is ViewSourceWith.  It works for 
any Firefox from 1.0 to 2.0.0.*.  It includes a setting that makes 
the selected editor the default for the View Page Source menu item, 
so you don't need to mess with about:config.  It's not just for 
viewing source, either; it also allows you to use your favorite 
editor to edit text areas.

https://addons.mozilla.org/firefox/394/

I use the same plugin on both my Linux and Windows installations of 
Firefox.

HTH,
Gary

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | Mobile Broadband Division
 | Spokane, Washington, USA


Re: how to setup gvim as view source editor for Opera?

2007-03-17 Thread A.J.Mechelynck

Jack Donohue wrote:

In Firefox, type "about:config" into the URL bar and hit ENTER.  Type
"source" in the filter box and hit ENTER.  Double-click on the entry
for "view_source.editor.external" so its value changes to "true".  Then


Don't have that entry on my version of Firefox (Windows, v. 1.5.0.10)  
Maybe some other upstart plugin editor clobbered it?


Thanks,


Jack



According to

http://kb.mozillazine.org/View_source.editor.external
http://kb.mozillazine.org/View_source.editor.path

these prefs work in Firefox 2 but not in Firefox 1.5. You can either upgrade 
to Fx2 or go hunting on one or more of the following sites for an extension 
that will allow you to use an external editor on the view-source page:


http://addons.mozilla.org/
http://www.extensionsmirror.de/
http://extensionroom.mozdev.org/

For more questions about Firefox, set up a newsgroup account for 
news.mozilla.org and subscribe to the mozilla.support.firefox newsgroup. That 
newsgroup is not mirrored on "Usenet" servers. IIRC, the following link may 
help: nntp://news.mozilla.org/mozilla.support.firefox


Best regards,
Tony.
--
New Year's Eve is the time of year when a man most feels his age, and
his wife most often reminds him to act it.
-- Webster's Unafraid Dictionary


Re: how to setup gvim as view source editor for Opera?

2007-03-17 Thread Jack Donohue

In Firefox, type "about:config" into the URL bar and hit ENTER.  Type
"source" in the filter box and hit ENTER.  Double-click on the entry
for "view_source.editor.external" so its value changes to "true".  Then


Don't have that entry on my version of Firefox (Windows, v. 1.5.0.10)  Maybe 
some other upstart plugin editor clobbered it?


Thanks,


Jack 



Re: how to setup gvim as view source editor for Opera?

2007-03-17 Thread Taylor Venable
On Sat, 17 Mar 2007 15:42:49 + (UTC)
zzapper <[EMAIL PROTECTED]> wrote:

> Taylor Venable <[EMAIL PROTECTED]> wrote in 
> news:[EMAIL PROTECTED]:
> 
> > On Sat, 17 Mar 2007 15:01:17 + (UTC)
> > zzapper <[EMAIL PROTECTED]> wrote:
> > 
> >> I've forgotten how to setup gvim as view source editor for Opera
> >> (got a new Vista PC). Also can anyone recommend the best solution
> >> for FireFox, I've only got the one where viewing source with vim
> >> is an additional option
> > 
> > For Opera, open the preferences, click on the "Advanced" tag, then
> > choose "Programs" from the list on the left.  At the bottom of the
> > right-hand side, there's the option to set the source viewer
> > program.
> ## Couldn't see it for looking!###

Hmm... well, on the Linux version of Opera 9.10 it looks like this:

  http://www.metasyntax.net/images/screenshots/opera-view-source.png

Maybe it's not available on Windows?  (For what reason that would be, I
have no idea...)

-- 
Taylor Venable
[EMAIL PROTECTED]
http://www.metasyntax.net/


Re: how to setup gvim as view source editor for Opera?

2007-03-17 Thread zzapper
Taylor Venable <[EMAIL PROTECTED]> wrote in 
news:[EMAIL PROTECTED]:

> On Sat, 17 Mar 2007 15:01:17 + (UTC)
> zzapper <[EMAIL PROTECTED]> wrote:
> 
>> I've forgotten how to setup gvim as view source editor for Opera (got
>> a new Vista PC). Also can anyone recommend the best solution for
>> FireFox, I've only got the one where viewing source with vim is an
>> additional option
> 
> For Opera, open the preferences, click on the "Advanced" tag, then
> choose "Programs" from the list on the left.  At the bottom of the
> right-hand side, there's the option to set the source viewer program.
## Couldn't see it for looking!###
> 
> In Firefox, type "about:config" into the URL bar and hit ENTER.  Type
> "source" in the filter box and hit ENTER.  Double-click on the entry
> for "view_source.editor.external" so its value changes to "true".  Then
> double-click on the entry for "view_source.editor.path" and enter the
> path to your Vim in there.  Then close the tab.  That should do it!
> 
### Excellent###
Thanks

-- 
zzapper
http://SuccessTheory.com/tips/ vim, zsh & success tips




Re: how to setup gvim as view source editor for Opera?

2007-03-17 Thread Taylor Venable
On Sat, 17 Mar 2007 15:01:17 + (UTC)
zzapper <[EMAIL PROTECTED]> wrote:

> I've forgotten how to setup gvim as view source editor for Opera (got
> a new Vista PC). Also can anyone recommend the best solution for
> FireFox, I've only got the one where viewing source with vim is an
> additional option

For Opera, open the preferences, click on the "Advanced" tag, then
choose "Programs" from the list on the left.  At the bottom of the
right-hand side, there's the option to set the source viewer program.

In Firefox, type "about:config" into the URL bar and hit ENTER.  Type
"source" in the filter box and hit ENTER.  Double-click on the entry
for "view_source.editor.external" so its value changes to "true".  Then
double-click on the entry for "view_source.editor.path" and enter the
path to your Vim in there.  Then close the tab.  That should do it!

-- 
Taylor Venable
[EMAIL PROTECTED]
http://www.metasyntax.net/


how to setup gvim as view source editor for Opera?

2007-03-17 Thread zzapper
Hi,
I've forgotten how to setup gvim as view source editor for Opera (got a new 
Vista PC). Also can anyone recommend the best solution for FireFox, I've only 
got the one where viewing source with vim is an additional option


-- 
zzapper
http://SuccessTheory.com/tips/ vim, zsh & success tips