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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s