I need help reconfiguring my vim!! In the process of working with it, I decided to download the .vim files and reinstall. After reinstalling I have had some major problems with my vimruntime. My vim files are located at /usr/asf/vim. I can't figure out where to get the original syntax files that come with a fresh install of ubuntu. Currently Vim is outputting the error
"E484: Can't open file /usr/share/vim/vim74/syntax/syntax.vim"
I no longer have a .vim file. I have tried a ton of things. I became so frustrated in fact that I did a sudo apt-get install vim-* do load all relative packages. I have visited http://www.ubuntuupdates.org/package_metas and have gone to the software center. I still can't get
:syntax on
to work. I would really appreciate help on this.
/usr/asf
? What madness is this? Anyhow, if you want to reinstallvim
, trysudo apt-get purge vim; sudo apt-get install vim
vim -N -u NONE -i NONE -c 'syntax on'
and have syntax highlighting when you then edit some file. You should also be able to execute:scriptnames
and see a list of the loaded runtime files, probably starting with1: /usr/share/vim/vim74/syntax/syntax.vim
./usr/bin/dpkg --get-selections | grep vim
to see which vim packages you have installed. The list on my Ubuntu system includesvim-common
andvim-runtime
. I thought those were automatically installed withvim
, but maybe you have to install those separately.