Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim: Error detected while processing function <SNR>37_MRU_LoadList:

Tags:

vim

I do not know what happend, in the cluster, anytime I tried to open any file no matter it is new or not, I will always get error message:

Error detected while processing function <SNR>37_MRU_LoadList:
line    5:
E684: list index out of range: 0
E15: Invalid expression: s:MRU_files[0] =~# '^\s*" Most recently edited files in Vim'
Press ENTER or type command to continue

Does anyone know how to solve it?

like image 640
Yitong Zhou Avatar asked Mar 13 '13 22:03

Yitong Zhou


2 Answers

Seems like you're using the mru.vim - Plugin to manage Most Recently Used (MRU) files, and somehow the storage file has become corrupted.

Try removing it:

:call delete(g:MRU_File)
like image 57
Ingo Karkat Avatar answered Sep 24 '22 07:09

Ingo Karkat


Like @balrok said in his comments, this situation seems to be happening when the home partition ran out of space. In my case, my cluster space is limited to be only 70G around. After moving all the data files into another space, this problem is solved.

like image 23
Yitong Zhou Avatar answered Sep 24 '22 07:09

Yitong Zhou