已经销声匿迹若干天了,冒个泡,顺便推荐两款非常受欢迎、非常使用的Vim插件:NERTree和Calendar。
NERDTree是一个文件浏览器,方便同时对多个文件进行编辑,详细说明见官方页面。看图:

Vim NERDTree

Vim NERDTree

安装方法和其他插件一样,将NERDTree.vim文件放到.vim/puglin/下即可。用:NERDTree命令启动,建议映射成快捷键。该插件常用操作的一些命令如下:

  1. o 打开关闭文件或者目录
  2. t 在标签页中打开
  3. T 在后台标签页中打开
  4. ! 执行此文件
  5. p 到上层目录
  6. P 到根目录
  7. K 到第一个节点
  8. J 到最后一个节点
  9. u 打开上层目录
  10. m 显示文件系统菜单(添加、删除、移动操作)
  11. ? 帮助
  12. q 关闭

  另外一个插件是Calendar,顾名思义,是用来显示一个“日历”,但它的功能不限于此,还可以提供类似日记的功能。喜欢的话,你可以用它来记录一些笔记、备忘什么的。安装即使用方法同其他插件类似,自己摸索吧!截图改天再上。

Tags: .
Home

No Comments Now!

Be the first to comment on this entry.

Leave a comment

Name(required)
Mail (required),(will not be published)
  2 + 13 = ?
Please leave these two fields as-is:
Website(recommended)

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URLs must be fully qualified (eg: http://www.dutor.net),and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.