I jumped on to a colleague's computer and tried opening a C++ file in vim, and got the following error -
E484: Can't open file /usr/local/share/vim/syntax/syntax.vim
Interestingly, the location /usr/local/share/vim/
does not even exist. It looks like vim is installed in /usr/share/vim
I tried hacking the ~/.vimrc, but I think the ~/.vimrc is fine, because I ssh'ed into another machine, and vim was able to do syntax highlighting there.
This is on debian 7. Also, interestingly, when I did env
from tcsh, I did not see VIMRUNTIME listed there.
Any suggestions?
ln -s /usr/local/share/vim path/to/VIMRUNTIME/directory/
– Contrapositionwhich vim
. – Ruel