Vim script
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
doc
etc
plugin
.gitignore
CHANGES.TXT
LICENSE.TXT
README
addon-info.json

README

This plugin allows users to open recently used files. Users can filter 
the file list by typing a pattern. Users can open multiple files at 
once. The list of recently used files is synchronized across multiple 
instances of (g)vim running simultaneously.

By default, tmru will remember 500 files (see |g:tmruSize|) accessible 
via the :TRecentlyUsedFiles command. The list can be easily filtered. 
Users can optionally use fuzzy patterns, which is not enabled by 
default though (see |g:tlib#input#filter_mode|).

Files can be grouped in sessions:

     - Use named sessions to group files that are frequently edited 
       together
     - Use numbered sessions to open files you edited during one of the
       latest editing sessions

Files can be marked as "sticky" -- they will never be removed from the 
list.

:TRecentlyUsedFiles ... open one or more recently used file(s)
:TRecentlyUsedFilesEdit ... edit the mru list

If viminfo contains "!", the data is stored as global variable. Otherwise,
tlib#cache is used -- which saves the data in ${vimfiles}/cache/tmru/files
by default.

By default tmru matches the search pattern on the full filename. If 
you want to match on the basename, add the following to your |.vimrc| 
file: >

    let g:tmru_world = {}
    let g:tmru_world.filter_format = 'fnamemodify(%s, ":t")'

If you want to retain the last filter between calls of :TRecentlyUsedFiles, you 
could also add the following lines: >

    let g:tmru_world.cache_var = 'g:tmru_cache'
    let g:tmru_world.restore_from_cache = ['filter']


-----------------------------------------------------------------------
Install~

Edit the vba file and type: >

    :so %

See :help vimball for details. If you have difficulties or use vim 7.0, 
please make sure, you have the current version of vimball
(vimscript #1502) installed or update your runtime.

This script requires tlib (vimscript #1863) to be installed.

Suggested maps (to be set in ~/.vimrc): >
    noremap <m-r> :TRecentlyUsedFiles<cr>




Dependencies:
  tlib (>= 1.14) :: http://github.com/tomtom/tlib_vim

License: GPLv3 or later
Install: See http://github.com/tomtom/vimtlib/blob/master/INSTALL.TXT
See http://github.com/tomtom for related plugins.