Vim Tips Wiki
No edit summary
m (Reverted edits by Emprego.curitiba (talk | block) to last version by JohnBot)
Line 55: Line 55:
   
 
----
 
----
<div style="margin-left:-9999px;">[http://www.vipsexshop.com.br Sex Shop][http://www.requintesexshop.com.br Sex Shop][http://www.sexshop.com.vc Sex Shop][http://www.belasexshop.com.br Sex Shop][http://www.belasexshop.com Sex Shop][http://blog.vipsexshop.com.br Dicas de Sexo][http://www.viplingerie.com.br Lingerie][http://www.vipcalcinhas.com.br Calcinhas][http://www.uniformesbr.com Uniformes Profissionais][http://www.uniformesbr.com Uniformes]</div>
 

Revision as of 15:30, 8 November 2011

Tip 851 Printable Monobook Previous Next

created January 13, 2005 · complexity basic · author Stanislav · version 5.7


There is finally an extension for Thunderbird that enables you to compose mail in an external editor.

You can find it at http://globs.org/?lng=en

It works also in Windows 2000, as well as Windows XP and Linux as the author claims. I couldn't make it work at first. You have to start a new message, right click the toolbar and add an icon for External Editor. Now, when you click on the icon, your mail is displayed in Vim.

Comments

> Why not use a real mail client (pine, mutt) instead?

Because here at work I am stuck in Windows. I have tried using pine, mutt in Windows, even Sylpheed. They do not work as I expect.

At home I am using FreeBSD, and I am using Thunderbird as a mail client for our "family" address so my wife can use it too. The beauty is, she gets the default interface, and I can press Vim icon and get my preferred editor.


> Why not use a real mail client (pine, mutt) instead?

Obviously you have never tried managing multiple IMAP accounts with mutt.


The author has now fixed the bugs so that carriage returns are not shown in Windows and you can use "+set ft=mail" as an argument.

So my value for text editor is now

gvim.exe "+set ft=mail"

and it works very nicely.

If gvim is not in your path, you'll have to fully qualify it.

The docs say to use:

gvim --nofork

That extension does not support multibyte language. When writing mail in English, it works well.

I copy the content from Thunderbird to Vim, and then :set syntax=mail, then edit it, then paste it back to Thunderbird.