mru.vim - Plugin to manage Most Recently Used (MRU) files : vim online
yegappan/mru: Most Recently Used (MRU) Vim Plugin (github.com)
另外提供一段代码用于保存文件编辑位置
" Return to last edit position when opening files (You want this!) autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
安装很简单
将仓库直接git clone到plugins目录下即可
在vim中命令行输入:MRU即可打开,譬如