Script:521
Talk0this wiki
Use this page to discuss script 521 mru: manage Most Recently Used (MRU) files
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Contents |
Comments
Edit
It would be nice if mru could replace long paths in filenames with short names.
For example, after I edit the file /home/user/projects/00_my/tasks/22-validation-rules/repo-1.03/dbscripts/some/more/paths/to/a.txt and go to the MRU filelist, I cannot see the whole filename because it is too long.
I'd like to be able to define an environment variable, e.g.
dbscripts=/home/user/projects/00_my/tasks/22-validation-rules/repo-1.03/dbscripts
and configure a variable like mru_prefixes=dbscripts in vimrc.
Afterwards, MRU could display the file as
${dbscripts}/some/more/paths/to/a.txt
--November 15, 2011
Please could you clarify the license of this plugin? Would you be open to allowing me to use your code as a basis of another vim plugin (I would give credit) --April 28, 2012
Bug
Edit
Fails on square brackets in path
Edit
In Windows, when a path contains square brackets (like in C:\test\path name [with] brackets\myfile.txt), the following error is thrown:
Error detected while processing BufEnter Auto commands for "*" E344: Can't find directory "C:/test/path name /[with] brackets" in cdpath E472: Command failed
--November 5, 2012
First time call
Edit
If I call :MRU for first time, It gives me the following error message:
Error detected while processing <SNR>29_MRU_Cmd..<SNR>29_MRU_Open_Window: line 125: E21: Cannot make changes, 'modifiable' is off: $delete Press Enter or type command to continue
If I press enter, __MRU_Files__ is empty. If I call :MRU again, it works.
--August 1, 2012