vim E35: No previous regular expression

 

vim E35: No previous regular expression error is because of file permission to .viminfo file which is in you home directory.

By default vim will store previous searches or vim related history in .viminfo file.

.viminfo file permission should be 666, else it wont allow to write vim history in this file.

Change permission of .viminfo with following command:

$ sudo chmod 666 .viminfo

-Sany

Leave a comment