Wikia

Vim Tips Wiki

Script:521

Talk0
1,613pages on
this wiki
Revision as of 19:50, August 1, 2012 by 31.46.203.30 (Talk)

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.

Comments

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

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

Around Wikia's network

Random Wiki