Wikia

Vim Tips Wiki

Changes: Using Vim to send mail on Windows

Edit

Back to page

(propose redirecting to 805)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 4: Line 4:
 
|previous=589
 
|previous=589
 
|next=591
 
|next=591
|created=October 22, 2003
+
|created=2003
 
|complexity=basic
 
|complexity=basic
 
|author=Stanislav Sitar
 
|author=Stanislav Sitar
Line 10: Line 10:
 
|rating=10/15
 
|rating=10/15
 
|category1=Email
 
|category1=Email
|category2=
+
|category2=Temporary
 
}}
 
}}
 
:'''''See proposal below to replace this with a redirect.'''''
 
:'''''See proposal below to replace this with a redirect.'''''
Line 16: Line 16:
   
 
Finally there is an elegant solution. At http://sylpheed-claws.sourceforge.net/win32/
 
Finally there is an elegant solution. At http://sylpheed-claws.sourceforge.net/win32/
download <tt>sylpheed-0.9.6claws.exe</tt> and install.
+
download <code>sylpheed-0.9.6claws.exe</code> and install.
   
 
Go to menu configuration -> Common preferences
 
Go to menu configuration -> Common preferences

Latest revision as of 05:37, July 13, 2012

Tip 590 Printable Monobook Previous Next

created 2003 · complexity basic · author Stanislav Sitar · version 5.7


See proposal below to replace this with a redirect.

The question of using Vim for writing email messages with Vim on windows was raised many times.

Finally there is an elegant solution. At http://sylpheed-claws.sourceforge.net/win32/ download sylpheed-0.9.6claws.exe and install.

Go to menu configuration -> Common preferences

Go to tab Other and fill something like

c:\Progra~1\Vim\vim62b\gvim.exe -f "%s"

(depending on where your Vim is installed) as the the editor option

The -f option is very important so Vim does not fork.

You might also go to Compose tab and select Automatically launch an external editor.

CommentsEdit

Are you sure about the "-f" flag ? So far, I've never seen this flag do anything under Windows. That's why I use mutt compiled for cygwin with the win32 version of Vim.


You wrote "Finally there is an elegant solution", but there are many solutions: at random Mahogany http://mahogany.sf.net (excellent one) or pine (great, ever great) or use Google.


Let me get this right - you want me to switch to a whole new email client just so that I can change its default editor to something else. Not just Vim - *anything*. How is this a Vim tip, exactly??


PC-Pine offers an external-editor-feature too.


Look at script#1052 -- it can send, receive and organize emails from within Vim on Windows and Unix (but requires not only Vim with embedded Perl but also external Perl).


See VimTip805 for a general solution for Windows.


I propose replacing this page with a redirect to tip 805: Use gvim as an external editor for Windows apps. There is nothing useful here. Any comments? (I'm putting this in to see if that reminds me to find this later.) JohnBeckett 09:11, August 20, 2011 (UTC)

Around Wikia's network

Random Wiki