sponsor Vim development Vim logo Vim Book Ad

MRU Menu : Plugin to manage a MRU (Most Recently Used) menu

 script karma  Rating 79/27, Downloaded by 3110  Comments, bugs, improvements  Vim wiki

created by
Rajesh Kallingal
 
script type
utility
 
description
Description:
This plugin will create a MRU menu to keep track of most recently visited
buffers. You can customize Menu Label, menu size and whether to show
numbered or non-numbered menu
                                                                            
  Global Variables Used:
   MRU_BUFFERS - keeps the lsit of recent buffers, usedto build the menu
   MRU_MENUSIZE - maximum entries to keep in the list
   MRU_HOTKEYS - whether to have a hot key of 0-9, A-Z in the menu
   MRU_LABEL - menu name to use, default is 'M&RU'
                                                                            
Screen Shots:
   http://www.geocities.com/rajesh_kallingal/vim/vimmru01.jpg
   http://www.geocities.com/rajesh_kallingal/vim/vimmru02.jpg

   If the above links don't work try this http://www.geocities.com/rajesh_kallingal/vim
    
TODO:
- handle menu size of more than 35
- help document
 
install details
Just drop it this file in your plugin folder/directory.
Make sure you have included '!' in 'viminfo' option to save global valiables. (e.g :set viminfo += !)
see :help 'viminfo' for more info.
 

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
MruMenu.vim 6.0.4 2003-05-23 6.0 Rajesh Kallingal MRU was not working while writing a new file. Added back the autocmd for BufWritePost and FileWritePost (Thanks to Edward J. Krall for reporting)
MruMenu.vim 6.0.3 2003-05-15 6.0 Rajesh Kallingal Speeded up the menu creation by moving the check for loaded buffers to run time rather than menu build time.

Handles help files correctly, thanks to Steve Hall.
MruMenu.vim 6.0.2 2002-02-08 6.0 Rajesh Kallingal BugFix: MRU wasn't working when vim is started by dragging a file on to the shortcut or the executable.
MruMenu.vim 6.0.1 2002-02-06 6.0 Rajesh Kallingal Initial upload
ip used for rating: 3.147.42.168

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