Sorry I'm still pretty new to vim. Do you mean file C:\Program Files\Vim\vim70\syntax\viminfo.vim?
This is everything in it: " Vim syntax file " Language: Vim .viminfo file " Maintainer: Bram Moolenaar <[EMAIL PROTECTED]> " Last Change: 2005 Jun 20 " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif " The lines that are NOT recognized syn match viminfoError "^[^\t].*" " The one-character one-liners that are recognized syn match viminfoStatement "^[/&$@:?=%!<]" " The two-character one-liners that are recognized syn match viminfoStatement "^[-'>"]." syn match viminfoStatement +^"".+ syn match viminfoStatement "^\~[/&]" syn match viminfoStatement "^\~[hH]" syn match viminfoStatement "^\~[mM][sS][lL][eE]\d\+\~\=[/&]" syn match viminfoOption "^\*.*=" contains=viminfoOptionName syn match viminfoOptionName "\*\a*"ms=s+1 contained " Comments syn match viminfoComment "^#.*" " Define the default highlighting. " Only used when an item doesn't have highlighting yet hi def link viminfoComment Comment hi def link viminfoError Error hi def link viminfoStatement Statement let b:current_syntax = "viminfo" " vim: ts=8 sw=2 -------------- cut ---------------- Anything worng? Maybe I should mention I use vim on windows. Where is viminfo file on windows? Thanks. -----Original Message----- From: Tim Chase [mailto:[EMAIL PROTECTED] Sent: June 14, 2006 3:00 PM To: [EMAIL PROTECTED] Cc: vim@vim.org Subject: Re: problem when open a file with vim > I don't know since when this happens. Now every time I open a file with vim, > I get this error. > > E576: viminfo: Missing '>' in line: 5\awr_hang_state\masterdb1_ora_4834.trc > E576: viminfo: Missing '>' in line: ^I"^I71990^I10 > > This file does not exist on my pc any more, but I open any file it complains > this error. I also reinstalled vim, and upgraded it from 6.2 to 7.0 but the > error carried over. It sounds like your viminfo file is referencing some file that no longer exists. The quick and dirty cure is to just nuke your viminfo file. You'd lose any perks currently in the viminfo, but it's stuff with which one can live without. I fly without viminfo on several of my boxes and can't say I miss it much. One can hand-edit the viminfo file, but it's a little trickier. Once you've purged the viminfo file, it will be recreated the next time you start Vim, and should no longer reference the phantom file. -tim