postmail.vim


Ⅰ. 插件描述

mail message posting plugin. (python required)

Ⅱ. 基本信息

创建日期:  2008-08-13
使用用户:  1
Github星:  2
插件作者:  omi taku

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/postmail-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/postmail-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/postmail-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/postmail.vim

Ⅳ. 文档说明

Send 'current editing buffer', or 'selected area of text' with email.
Most simplest usage is to execute :Mail command.

Supported Mail Auth type is
    - basic SMTP password Auth
    - POP before STMP Auth
    - Outbound Port 25 Blocking
    - GMail

This plugin needs '+python', '+iconv', '+multi_byte' and
Python is installed, and $PATH is appropriately set.

USAGE
You can use :Mail command to send email.
See also postmail-example .

:[range]Mail
        send mail message.
        if [range] is selected, send selected text.
        if [range] is not selected, send current buffer.

:[range]Mail {to_mailaddress}
        send mail message to {to_mailaddress}.
        if [range] is selected, send selected text.
        if [range] is not selected, send current buffer.

:[range]Mail {to_mailaddress1} {to_mailaddress2}, {to_mailaddress3}
        send mail message to {to_mailaddress1}, {to_mailaddress2}, and
        {to_mailaddress2}.
        if [range] is selected, send selected text.
        if [range] is not selected, send current buffer.

COMMAND USAGE EXAMPLE
:Mail
        send mail message.
        message is current buffer text.

:Mail mail@nanasi.jp
        send current buffer text to 'mail@nanasi.jp' address.

:6,20Mail mail@nanasi.jp
        send from line 6 to line 20 text to 'mail@nanasi.jp' address.

添加新评论