sponsor Vim development Vim logo Vim Book Ad

RecentFiles : Plugin that allows you to easily access recently opened files.

 script karma  Rating 129/33, Downloaded by 820  Comments, bugs, improvements  Vim wiki

created by
Bartlomiej P.
 
script type
utility
 
description
This script allows you to easily access recently opened files.
Function RecentFilesList() (with default key binding ',f') displays list of files, and allow you to open one by entering its number.
The list is empty at the begining, it's updated when you open/write files.

Screenshot:
http://s258.photobucket.com/albums/hh246/otokan/?action=view¤t=vim-RecentFilesList-plugin.png

Script sets (by default) following key bindings and autocommands:
nmap ,f :call RecentFilesList()<cr>
au BufReadPost,BufWritePost * call RecentFilesAdd()

Enjoy!
 
install details
Place script  in your plugin directory (i.e: ~/.vim/plugin/)

NOTE: you must have ! in &viminfo for this script to work.
Add line:   set viminfo+=!   to your configuration file if necessary.

You can edit some settings in the SETTINGS section of the script file.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
RecentFiles.vim 0.5 2008-02-13 7.0 Bartlomiej P. Initial upload
ip used for rating: 3.138.33.178

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github