Vim + Gmail = Vmail

简言之,Vmail 是 Vim + Gmail 的结合体,她允许你在 Vim 这一经典的文本编辑器中处理一切 Gmail 事务,诸如收发、阅读、星标、存档、删除、搜索邮件等等。体验一番下来,Vmail 给我的感觉是操作流畅,速度不错。

vmail

安装及配置

Vmail 需要 Ruby 1.9.0 以上版本(包含 SSL 支持)、sqlite3/libsqlite3-dev、及 lynx(用于查看 HTML 邮件)等使用依赖,通过以下指令可安装:

% gem install vmail

在安装完成后,给 Vmail 添加配置信息:

% vim ~/.vmail/defaults/.vmailrc

其中新添内容主要为:

username: yourusername@gmail.com
password: yourpassword
name: Your Name

现在,你可以执行 vmail 来启动它了。

使用简述

Vmail 启动后,默认将载入 100 封邮件,在其条目上按 Enter(回车)即可打开新的分隔窗口来阅读该邮件。Vmail 的其他操作包括:

  • ,c - 撰写新邮件,完成后可用 ,vs 发送
  • ,* - 星标邮件
  • ,# - 删除邮件
  • ,e - 存档邮件
  • ,! - 标记为垃圾邮件
  • U 和 I - 分别标记为未读和已读
  • ,u - 检查新邮件
  • ,m - 切换邮箱
  • ,r - 回复
  • ,a - 回复全部
  • ,f - 转发
  • ,s - 搜索

更完整的使用说明,可参考 Vmail 主页

{ via Hacker News }

Read More:

11 Comments

  1. 1 alick 评论 @ 2012-12-17 11:32Reply to this comment

    前一阵vim_use列表有个有关email插件的讨论,可供参考: http://thread.gmane.org/gmane.editors.vim/108972

  2. 2 H.Ley 评论 @ 2012-12-17 11:55Reply to this comment

    mutt+vim观望。

  3. 3 adam8157 评论 @ 2012-12-17 12:29Reply to this comment

    mutt+vim+offlineimap+msmtp赞到爆, vmail略有点奇葩物的感觉...

  4. 4 yjc 评论 @ 2012-12-17 12:49Reply to this comment

    emacs化的vim

  5. 5 Sunday 评论 @ 2012-12-17 17:14Reply to this comment

    又一装B利器!

  6. 6 feng 评论 @ 2012-12-17 21:16Reply to this comment

    archlinux: https://aur.archlinux.org/packages/ruby-vmail/ 刚刚更新了下版本号。

  7. 7 kaji331 评论 @ 2012-12-17 21:21Reply to this comment

    其实我觉得Thunderbird+Muttator才是实用的

  8. 8 bingmou 评论 @ 2012-12-18 13:44Reply to this comment

    我觉得这个很不错,至少少了很多配置的东西,一次性就成功了。以前一直想用这个东西,但是一直没有成功,因为配置太复杂,太多的软件要安装。现在这个gem一下就直接给安装了配置了很多东西,而且vim化很好,我觉得比那些mutt好多了。可能mutt的可配置性更高点,但其实我并不需要那么高的可配置性。太多也是累赘

  9. 9 Xiang Wang 评论 @ 2012-12-18 18:42Reply to this comment

    eamcs + mew 观望

  10. 10 茶话汇 评论 @ 2012-12-19 7:55Reply to this comment

    主要是针对邮件的?

  11. 11 MaskRay 评论 @ 2012-12-21 23:25Reply to this comment

    mutt+msmtp+offlineimap+notmuch,還需要一個 query_command 從 Google Contacts 上抓聯繫人郵箱:goobook