Re: embedable vim?

2007-05-17 Thread Marc Weber
 either natively as (IIRC) kde applications do, or by means of an extensions 
 (as seveal other posts mention doing for Firefox). Other browsers (such as 
 IE IIRC) simply don't support any external editor.

Shouldn't be that hard to tell AutoHotkey to copy paste the text to vim
and back .. (windows only)

Marc


Re: embedable vim?

2007-05-17 Thread fREW

On 5/17/07, Marc Weber [EMAIL PROTECTED] wrote:

 either natively as (IIRC) kde applications do, or by means of an extensions
 (as seveal other posts mention doing for Firefox). Other browsers (such as
 IE IIRC) simply don't support any external editor.

Shouldn't be that hard to tell AutoHotkey to copy paste the text to vim
and back .. (windows only)

Marc



That's actually one of the vim tips out there.  Search for windows and
it's one of the top 10 I think.

-fREW


RE: embedable vim?

2007-05-17 Thread Timothy Adams
A lot of suggestions have been mentioned, but I didn't see the mozex extension 
for firefox/mozilla mentioned. You can set an editor for textareas, view 
source, intercept mailto: links, and a lot more.

http://mozex.mozdev.org/development.html

-Original Message-
From: Franco Saliola [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 16, 2007 9:26 PM
To: vim@vim.org
Subject: embedable vim?

Is there a way to embed vim into my browser (or any other application for that 
matter)?

I hate typing in the html text boxes and would much prefer to use vim to edit 
my email.

Or are there any suggestions on reading/writing email using Gmail and Vim?

I'll create a tip if I figure out a good method.

Thank you,
Franco

--


Re: embedable vim?

2007-05-16 Thread fREW

On 5/16/07, Franco Saliola [EMAIL PROTECTED] wrote:

Is there a way to embed vim into my browser (or any other application
for that matter)?

I hate typing in the html text boxes and would much prefer to use vim
to edit my email.

Or are there any suggestions on reading/writing email using Gmail and Vim?

I'll create a tip if I figure out a good method.

Thank you,
Franco

--



Try searching the tips database.  I remember reading something once
about sending gmail with vim.  Reading it with vim is harder, and if
you really want to do that you will want to look into using the gmail
pop3 with mutt.  I think that you can embed vim with konqueror or
something like that, but for the most part you should vote for that as
a feature in vim.  Currently it is #4.  Hope that helps.

[1] http://www.vim.org/sponsor/vote_results.php

-fREW


Re: embedable vim?

2007-05-16 Thread Pete Johns
On Wed, 2007-05-16 at 21:26:10 -0400, Franco Saliola sent:
I hate typing in the html text boxes and would much prefer to
use vim to edit my email.

Don't we all? Using w3m, it's easy to use Vim to edittext areas.
I shall assume that you are using a graphic web-browser and
assume further that you are using Firefox. In which case then
there a couple of extensions / add-ins for Firefox which you can
use.

My preference is:
ViewSourceWith http://dafizilla.sourceforge.net/viewsourcewith/

Others like:
It's All Text! https://addons.mozilla.org/firefox/4125/

Both require a little configuration to tell them where (g)Vim is,
etc. This was discussed on this list a little while ago
http://thread.gmane.org/gmane.editors.vim.mac/127/.

This isn't embedding /per se/, but it does help with email
composition.

Best;

--paj

--
Pete Johns   http://johnsy.com/
Contact Information  http://johnsy.com/contact/
Ubuntu http://johnsy.com/20070509114406
MovieWorld LogFlume  http://johnsy.com/albums/459588081



pgpwsPUUIbJ76.pgp
Description: PGP signature


Re: embedable vim?

2007-05-16 Thread Chris Grau
On Wed, May 16, 2007 at 09:26:10PM -0400, Franco Saliola wrote:
 Is there a way to embed vim into my browser (or any other application
 for that matter)?
 
 I hate typing in the html text boxes and would much prefer to use vim
 to edit my email.
 
 Or are there any suggestions on reading/writing email using Gmail and
 Vim?
 
 I'll create a tip if I figure out a good method.

This won't be very useful to you unless you use Firefox, but I've been
using the It's All Text extension to launch gvim to edit HTML text
areas, including GMail.

https://addons.mozilla.org/en-US/firefox/addon/4125

-- 
Chris Grau


pgpAO7hFvNm59.pgp
Description: PGP signature


Re: embedable vim?

2007-05-16 Thread A.J.Mechelynck

Franco Saliola wrote:

Is there a way to embed vim into my browser (or any other application
for that matter)?

I hate typing in the html text boxes and would much prefer to use vim
to edit my email.

Or are there any suggestions on reading/writing email using Gmail and Vim?

I'll create a tip if I figure out a good method.

Thank you,
Franco

--



It all depends on your browser (or other application for that matter). Some 
browsers (or other applications) support defining an external editor, either 
natively as (IIRC) kde applications do, or by means of an extensions (as 
seveal other posts mention doing for Firefox). Other browsers (such as IE 
IIRC) simply don't support any external editor.



Best regards,
Tony.
--
... The Anarchists' [national] anthem is an international anthem that
consists of 365 raspberries blown in very quick succession to the tune
of Camptown Races.  Nobody has to stand up for it, nobody has to
listen to it, and, even better, nobody has to play it.
-- Mike Harding, The Armchair Anarchist's Almanac


Re: embedable vim?

2007-05-16 Thread Greg Novack
Thus spake Franco Saliola [05/16/07 @ 21.26.10 -0400]:
 Is there a way to embed vim into my browser (or any other application
 for that matter)?
 
 I hate typing in the html text boxes and would much prefer to use vim
 to edit my email.
 
 Or are there any suggestions on reading/writing email using Gmail and Vim?
 
 I'll create a tip if I figure out a good method.
 

Well, if you have MacOSX Tiger, there's a freeware utility called Vi Input 
Manager: http://www.macupdate.com/info.php/id/22864/vi-input-manager

This lets you call a decent subset of vim in any text field in any Cocoa 
application, which inlcudes Safari and Camino (the latter is Mac-ified Firefox, 
in a manner of speaking).  So long as you use a Cocoa-based browser to check 
Gmail, you should be able to do the most useful vimmaneuvers on your email.

I have no idea if there are utilities like this for other platforms.

-Greg