tmboxbrowser


Ⅰ. 插件描述

A mbox browser -- Read your e-mails with vim

Ⅱ. 基本信息

创建日期:  2007-05-23
使用用户:  1
Github星:  2
插件作者:  Tom Link

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

mbox is a widely used format to store e-mails. Thunderbird uses it too.

Features
    - Show an index of e-mails contained in a mbox file
    - Mark e-mails as read and don't show them again in the index
    - View e-mails
        - display single parts of a multipart message
        - decode quoted printables
        - filter html mails through an external program; in the default
          setup, this requires "w3m" (g:tmboxbrowser_convert_html)
        - view base64 encoded attachments; this also requires "base64"
          (g:tmboxbrowser_convert_base64) to be installed
            - if viki (vimscript #861) is installed, use
              VikiOpenSpecialFile()
            - otherwise the file will be opened with
              g:netrw_browsex_viewer

:TMBoxBrowser[!] [FILE]
    Open a index list with the e-mails in the currently opened mbox.
    With [!], read items are displayed too. In this mode, no e-mails are
    marked as read.
    If [FILE] is given, the file is (newly) edited.
    I.e. if you open a mbox, mark all items as read and then want to
    browse the file again, you'll have to type>

        :TMBoxBrowser! %

    Alternatively, press <c-t> in the list view to show/hide read mails.

:TMBoxSelect[!]
    Show a list of mbox files (as defined in g:tmboxbrowser_path).
    Open a mbox & call :TMBoxBrowser.

Key maps
These are effective in the MBOX_Browser window:

    i        ... Display the index list (in gvim, you can also use <esc>)
    p        ... Select parts or re-view mail
    q        ... Quit the browser
    ?        ... Help
    <space>  ... Page down
    <bs>     ... Page up

添加新评论