[Solved][VIM] E484: Can't open file syntax.vim

Hi all,
I've installed Archlinux few days ago on my netbook and yesterday i decided to configure Vim using plugins.
During plugins configuration, i messed up and i decided to revome all Vim files in my ~ folder in order to restart configuration.
However, since I've executed the `rm -R .vim .vimrc .viminfo` command, I can't re-activate Vim's syntax coloration using `syntax on` into my .vimrc file nor into Vim directly.
Here is the error message when I start Vim :
Error detected while processing /home/romain/.vimrc:
line 1:
E484: Can't open file /home/romain/.vim/syntax/syntax.vim
Press ENTER or type command to continue
I've found this topic on BBS which seems to be the same problem as me but reinstalling vim or vi doesn't solve this problem.
I've tried to copy this syntax.vim file from /usr/share/vim/vim73/syntax/syntax.vim but it doesn't solve the problem and I want a clean solution without hacking my ~ folder ; moreover, this bug also appears being root while I haven't configured vim with the root account so it may be a problem into Vim's installation folders or something.
Thanks for your help and sorry I my english contains mistakes,
MicroJoe.
Last edited by MicroJoe (2012-06-14 16:16:45)

This is the output :
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 7 2012 00:41:40)
Rustines incluses : 1-547
Compilé par ArchLinux
Grosse version sans interface graphique.
Fonctionnalités incluses (+) ou non (-) :
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
+mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse
+mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme -netbeans_intg
+path_extra +perl +persistent_undo +postscript +printer -profile -python
-python3 +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
-toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
-xterm_clipboard -xterm_save
fichier vimrc système : "/etc/vimrc"
fichier vimrc utilisateur : "$HOME/.vimrc"
fichier exrc utilisateur : "$HOME/.exrc"
$VIM par défaut : "/usr/share/vim"
Compilation : gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=i686 -mtune=generic -pipe -fstack-protector --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Édition de liens : gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/local/lib -Wl,--as-needed -o vim -lm -lncurses -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -fstack-protector -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
(I've noticed that some part were in French but I hope that it'll not be a problem).

Similar Messages

  • Can't open file syntax.vim

    I have vim installed from extra (x86_64). When I start vim I get the following error:
    $ vim
    Error detected while processing /etc/vimrc:
    line 41:
    E484: Can't open file /usr/share/vim/vimcurrent/syntax/syntax.vim
    Error detected while processing /home/nsmoot/.vimrc:
    line 63:
    E484: Can't open file /usr/share/vim/vimcurrent/syntax/syntax.vim
    Press ENTER or type command to continue
    There is not a "current" directory on my system...
    # find / -name "syntax.vim" -print
    /usr/share/vim/syntax/syntax.vim

    I had this problem, but the culprit was mercurial for me.
    If you're getting the vim72 error check what's in that directory.
    The only file in there for me was..
    # ls /usr/share/vim/vim72/syntax/
    HGAnnotate.vim
    # pacman -Qo /usr/share/vim/vim72/syntax/HGAnnotate.vim
    /usr/share/vim/vim72/syntax/HGAnnotate.vim is owned by mercurial 1.3-1
    I tested it first by moving vim72 to vim72.bak and the problem went away, after that I uninstalled mercurial (I never use it)
    Here's the loading order according to the vim documentation:
    You don't normally set $VIMRUNTIME yourself, but let Vim figure it out. This
    is the order used to find the value of $VIMRUNTIME:
    1. If the environment variable $VIMRUNTIME is set, it is used. You can use
    this when the runtime files are in an unusual location.
    2. If "$VIM/vim{version}" exists, it is used. {version} is the version
    number of Vim, without any '-' or '.'. For example: "$VIM/vim54". This is
    the normal value for $VIMRUNTIME.
    3. If "$VIM/runtime" exists, it is used.
    4. The value of $VIM is used. This is for backwards compatibility with older
    versions.
    5. When the 'helpfile' option is set and doesn't contain a '$', its value is
    used, with "doc/help.txt" removed from the end.
    source: http://www.vim.org/htmldoc/starting.html#$VIMRUNTIME
    It was loading #2 for me, removing vim72 directory means it loads #4. (skips #3 since I don't have a /usr/share/vim/runtime dir)

  • [SOLVED] Sudo Ranger does not open files with VIM

    I am using ranger as my file manager. And sometimes I run it with sudo. But then it want's to open all with nano. Even tough the environment variables (EDITOR & VISUAL) are set to vim.
    Maybe it hast something to do with /bin/sh - but when that is the case, how do I change the default behaviour of /bin/sh?
    Last edited by natepad (2015-04-02 16:07:36)

    Sure you can. As the sudoers man page describes, the env_reset option is on by default. You could use the env_keep options. Or use the -E flag for sudo. Or....
    http://www.sudo.ws/sudo/man/1.8.13/sudo.man.html
    http://www.sudo.ws/sudo/man/1.8.13/sudoers.man.html

  • Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004 Please help me in solving this problem.

    Hello Sorry for the inconvenience, but I have a problem in Java I can not open files, audio chat, which type of jnlp after the last update of the Java 2012-004
    Please help me in solving this problem. 

    Make sure Java is enable in your browser's security settings.
    Open Java Preferences (in Utilities folder)
    Make sure Web-start applications are enabled.
    Drag Java 32-bit to the top of the list.
    jnlp isn't an audio file format. It's just a java web-start program (Java Network Launching Protocol).

  • After update to OS X Maverick I can not open files in Lotus Notes Smart suite. Is there any way to solve this problem?

    After I updated to OS X Maverick I can not open files in Lotus Notes Smart suite. Is there any way to solve this problem?

    Ok this worked to solve the error.
    Use cmd prompt in windows 7 or 8 and run as admin:
    sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
    sc config mrxsmb20 start= disabled
    No need for all that power shell nonsense as shown elsewhere for windows 8.
    That's it. Also force smb2 disabling on the apple side for good measure.
    With the above I was able to network mavericks and windows 8.1 pro flawlessly. He issues I had before where I could not read video, ISO and audio files (but could open documents and pictures from the windows machine connected to an apple network share folder went away.

  • Can't open files from iCloud Drive on Mac

    Hi,
    Can't open file from iCloud Drive on my MacBook Air (OS X 10.10.1).
    I created new file (in Numbers for example). Then Numbers->File->Open->iCloud Drive->my_file.numbers and it says "Can't open file my_file.numbers".
    I can preview the file by pressing Space, but openning from application and double-click on it doesn't work.
    Files that were created earlear also not opened.
    Does anybody know how to solve this problem? thanks.

    Using smtp.mail.me.com - also tried smtp.me.com
    SSL yes
    port 587
    SMTP Authentification Yes
    Security SLS/TLS - also tried STARTTLS
    User full **@me.com email address - also tried user name without @me.com
    I have spoken to apple support this afternoon and we tried the variations shown above.
    Support told me to wait for a day and try again!
    After the iCloud authentication problem last night I changed all my passwords I wonder if there is an SMTP problem at me.com perhaps not reading the updated passwords?
    I'll try and use the old passwords later.

  • Screen field to small, can't open file.

    When opening file in illustrator, I received popup with "can't open file, not enough space to open window. Try again after resizing field".
    What can I do to solve this problem?

    WIthout system info and other technical details nobody can say anything.
    MYlenium

  • I can not open files FH11, Is it because I have the trial version of Illustrator CC 2014?

    I can not open files FH11, Is it because I have the trial version of Illustrator CC 2014?

    FH support has been dropped in CS6.
    The FH plugin from tensai.co.uk should solve your problem.

  • Vi error on nfs mount; E212: Can't open file for writing

    Hi all,
    I've setup a umask of 0 for testing on both NFS client (Centos 5.2) and NFS server (OSX 10.5.5 server).
    I can create files as one user and edit/save out as another user w/o issue when directly logged into the server via ARD.
    However, when I attempt the same from an NFS mount on a client machine, even as root I get the following error using vi;
    "file" E212: Can't open file for writing
    Looking at the system.log file on the server, I see;
    kernel[0]: add_fsevent: no name hard-link! dropping the event. (event 2 vp == 0xa5db510 (-UNKNOWN-FILE)).
    This baffles me. My umask is 0 meaning files I create and attempt to edit as other users are 777, but I cannot save out edits unless I do a wq! in vi. At that point, the owner of the file changes to whomever did the vi.
    This isn't just a vi issue as it happens using any editor, but I like to use vi.
    Any help is greatly appreciated. Hey, beer is on me!

    Hi all,
    Thanks for the replies
    I've narrowed it down to a Centos client issue.
    Everything works fine using other Linux based OS's as clients.
    Since we have such a huge investment in Centos, I must figure out a workaround. Apple support wasn't much help as usual however they were very nice.
    There usual response is "its unsupported".
    If Apple really wants to play in the enterprise of business space, they really need to change there philosophy. I mean telling me that I shouldn't mount home directories via NFS is completely rediculus.
    What am I supposed to use then, Samba of AFP? No, I don't think so. No offense to Microsoft but why would I use a Windows based file sharing protocol to mount network shares in a Nix env???

  • How can i open file from adobe reader..i already have adobe read

    how can i open file from adobe reader..i already have adobe reader installed and cannot open a
    file and i cannot convert my file into pdf..

    Is the file really a PDF? Where is it? Have you tried opening it from within Reader?

  • Iweb installed on a new computer but i have this error message: Can't open file "~/Library/Application Support/iWeb/Domain.sites2."

    I have just installed ilife on my  new computer from my disk. I have several backups of my webpage from my  old computer. Everything would be great if I could just run the program. When I click the icon for iWeb I get the following message:  Can’t open file “~/Library/Application Support/iWeb/Domain.sites2.”
    Somebody please help! I desperately need to update my website.

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    You can download an already compiled version with this link: iWeb Switch Domain.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Error message: "Can't open file"

    Using Keynote 3.0.x I try to open a keynote file created a year ago and when I try to open the "Opening" dialog comes up, you see the progress bar, and then, I get the error message, "Can’t open file" followed by the file name. Any recourse?
    PowerMac G5   Mac OS X (10.4.7)   FInal Cut Pro 5.1

    I later discovered the file was damaged. Went back to a backup copy and things were fine. Good think we have backups.

  • Error message: "Can't open file "[File path, file name].key"

    If I attempt to open any Keynote files, I now get this error message.
    "Can't open file "[File path: file name].key"
    To clarify, the text in the square brackets above would be the file path and then the file name.
    The file then will appear on the screen, but is unresponsive to any clicks or menu commands.
    The files will open successfully on other Macs, so they aren't corrupt.
    Also - I've just checked, and opening Keynote and trying to create a new presentation leads to the same problem: All screen menus / buttons are dead - all I can do is drag the window around the screen.
    I've tried to reinstall Keynote, but this hasn't resolved the problem.
    Is there some corrupt preference file (or similar) that I need to get rid of? Is there an easy way to do a complete uninstall of Keynote so I can try another install? Or is this a symptom of something else?
    All ideas gratefully appreciated!
    Message was edited by: Brendan Donlon

    All the issues I describe in my questions around this time re: Keynote were actually symptoms of a soon-to-die laptop. The Hard Disc was corrupting, and Keynote was the first application to be affected.

  • Can't open files in iCloud

    Just recently, I haven't been able to open files stored in iCloud using either Pages or Numbers. When I try with either application, I get an error message saying, e.g.,  "The file “Wines.pages” couldn’t be opened." What can I do to fix that?

    Possibly you have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 110 features from Pages 5 and added many bugs.
    Peter

  • Pages can´t open files saved in iCloud

    I can´t open any file save to iCloud
    I tried a workaraound:
    I couldn´t open a file save to iCloud from my iPad.
    I opened it from icloud.com and downloaded it to my iMac.
    Opened the downloaded file, and everything semed ok.
    I then closed the dokument and opened the file on my ipad again. Made som editing before I closed the dokument.
    Then I tried to open it again in Pages on my iMac, but couldent open it.
    Translated: Couldn´t open the file ".... ..."
    I also tried to open a file saved to icloud (without opening it on other machines and devises). Pages couldn´t open those files either...
    Can sombody help me?

    Possibly you have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 110 features from Pages 5 and added many bugs.
    Peter

Maybe you are looking for

  • OS 10 in classic mode

    I am running OS 10.4.8 and trying to use it in classic mode (kid games). When it was installed I did not upgrade, but simply loaded a new version of Tiger. I want to buy/download the software I need to run in classic mode for these games. Can anybody

  • Win 7 Backup and Restore schedule problem

    Dear Technet, I have a strange problem with the above mentioned utility. The problem is with the next scheduled backup. It is not tested if it going to work, but i seriously doubt it. Please help. http://img198.imageshack.us/img198/1920/vaskess.jpg R

  • Like operator(NonCase sensitive)

    Hi, Every Body, I need query that use the like operator for pattern matching but that pattern matching should be Non case sensitive is there any keywords that make like operater NonCase Sensitive, query like is , select * from table_name where column

  • Faster way ?  properties file vs weblogic.xml jndi context

    Anyone knows what is faster way to get a value from a parameter, a) using a properties file b) using jndi context ( env-entries ) Anyway to get new values from a runtime changed files ? Regards jsanza

  • PS Touch needs a warning message when importing files larger than 2048x2048 max resolution

    I opened 6500x5000 px files into PS Touch in iPad for some minor retouching. PS Touch - without notification - reduced the images to fit within 2048 x 2048 px. It happily let me open these files, work on them and save and never let me know it was red