sponsor Vim development Vim logo Vim Book Ad

MRU : Most recently used files in your file menu

 script karma  Rating 248/84, Downloaded by 5956  Comments, bugs, improvements  Vim wiki

created by
Gergely Kontra
script type
It stores data in the file called $MRU.
See also vimscript#161

Hint: If you want a lightweight solution, you can use marks 0..9
install details
When $MRU is not set, it will store data in you $HOME dir on unix, and in $VIM dir on windows. You can customize what to do with the file with defining OPEN_FUNC variable. The number of items can be changed by defining MRU_num. (default is 4).

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
MRU.vim 0.32 2005-04-10 6.0 Gergely Kontra Fixed filename escaping (Thx to Fritz Mehner for the patch)
MRU.vim 0.31 2002-03-11 6.0 Gergely Kontra Shutup clienserver stuff
MRU.vim 0.3 2002-02-04 6.0 Gergely Kontra Most recently used files in your file menu
New features: * Limited path size (set PATHSIZELIMIT) * It closes the file even when 'hidden' is set * Synchronize if +clientserver is available
MRU.vim 0.2 2002-01-30 6.0 Gergely Kontra Initial upload
ip used for rating:

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.