LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2008, 03:47 AM   #1
hari@crr
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
E576: viminfo: Missing '>' in line:


I got this error when i create a new file with vi editor as well as close the opened file.
 
Old 12-17-2008, 04:11 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
This means there is an error in the viminfo file, maybe due to a bug. Whatever the reason be, you can try to delete the file $HOME/.viminfo and start vim again. You will lose some information about recent history and usage, anyway. More details, here.
 
Old 12-17-2008, 04:33 AM   #3
benoy4007
Member
 
Registered: Jun 2004
Location: India
Distribution: Red Hat
Posts: 30

Rep: Reputation: 15
Check the path where file is being created, may be your userid did not have acess for the specifield location.
Go to home directory and then run vi with new file name.
 
Old 04-29-2010, 07:37 AM   #4
fredinfinite23
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
reinstall vim

Your viminfo.vim file somehow got screwed up. It's very hard for me to tell what's wrong with it (I had another error), but the fix is quite easy...

Do the following from a 'root' console:
1) apt-get remove vim
2) rm -fR /usr/share/vim
3) apt-get install vim

this will regenerate all the syntax rule files in vim/vimXX/syntax (including viminfo.vim), and your problem will be solved!
 
0 members found this post helpful.
  


Reply

Tags
error, vim



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ text file line by line/each line to string/array Dimitris Programming 15 03-11-2008 08:22 AM
Missing line in dhclient-eth0.conf Corrado Linux - Networking 0 12-07-2007 12:38 AM
php - Read file line by line and change a specific line. anrea Programming 2 01-28-2007 01:43 PM
Kdetv command line (missing?) option AliDigitaly Linux - Software 0 09-30-2005 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration