Chinaunix首页 | 论坛 | 博客
  • 博客访问: 43216
  • 博文数量: 18
  • 博客积分: 390
  • 博客等级: 一等列兵
  • 技术积分: 215
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-02 21:11
文章分类

全部博文(18)

文章存档

2012年(18)

我的朋友

分类: LINUX

2012-04-07 01:25:59

description
Overview 

The Most Recently Used (MRU) plugin provides an easy access to a list of 
recently opened/edited files in Vim. This plugin automatically stores the 
file names as you open/edit them in Vim. 

This plugin will work on all the platforms where Vim is supported. This 
plugin will work in both console and GUI Vim. This version of the MRU 
plugin needs Vim 7.0 and above. If you are using an earlier version of 
Vim, then you should use an older version of the MRU plugin. 

The recently used filenames are stored in a file specified by the Vim 
MRU_File variable. 

Usage 

To list and edit files from the MRU list, you can use the ":MRU" command. 
The ":MRU" command displays the MRU file list in a temporary Vim window.  If 
the MRU window is already opened, then the MRU list displayed in the window 
is refreshed. 

If you are using GUI Vim, then the names of the recently edited files are 
added to the "File->Recent Files" menu. You can select the name of a file 
from this sub-menu to edit the file. 

You can use the normal Vim commands to move around in the MRU window. You 
cannot make changes in the MRU window. 

You can select a file name to edit by pressing the key or by double 
clicking the left mouse button on a file name.  The selected file will be 
opened. If the file is already opened in a window, the cursor will be moved 
to that window. Otherwise, the file is opened in the previous window. If the 
previous window has a modified buffer or is the preview window or is used by 
some other plugin, then the file is opened in a new window. 
阅读(1217) | 评论(0) | 转发(0) |
0

上一篇:NERDComComment

下一篇:VisIncr

给主人留下些什么吧!~~