Skip to content

taoso/mru.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

mru

Most Recently Used File List for Vim/NeoVim.

Install

Plug 'lvht/mru'

" set max lenght for the mru file list
let g:mru_file_list_size = 7 " default value
" set path pattens that should be ignored
let g:mru_ignore_patterns = 'fugitive\|\.git/\|\_^/tmp/' " default value

Usage

mru offers a Mru command which will open a MRU buffer to show your most recently used file list.

Deleting line in the MRU buffer will drop them from the mru list.

mru depends the vim's viminfo or neovim's shada. please confirm your vim/neovim has been compiled with these feature.

Story

There is also another plugin called fzf-filemru by tweekmonster. But the fzf-filemru use the $XDG_CACHE_HOME/fzf_filemru to store the file list, the external filemru.sh script to record file list, which is a little heavyweight.

I alsa want to make a PR to tweekmonster. But it will almost be an rewrite PR, and I do not think tweekmonster will accept.

This is story of mru.

Enjoy yourself :).

About

Most Recently Used File List for Vim/NeoVim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published