http://jsdelfino.blogspot.ca/2010/11/my-vi-configuration-file.html
Error detected while processing /home/boris/.vimrc:
line 30:
E518: Unknown option: autochdir
line 39:
E319: Sorry, the command is not available in this version: syntax on
line 43:
E319: Sorry, the command is not available in this version: filetype indent on
line 64:
E319: Sorry, the command is not available in this version: function! RESTORE_CURSOR()
line 68:
E319: Sorry, the command is not available in this version: endfunction
line 69:
E319: Sorry, the command is not available in this version: autocmd BufReadPost * call RESTORE_CURSOR()
Press ENTER or type command to continue
Soved by using suggestions from this bbs:
Try from within
vim
...:version
and if your get ...
Small version without GUI.
You are missing package
vim-gui-common
. It is probably also advisable to install vim-runtime
. Commands to install:sudo apt-get install vim-gui-common
sudo apt-get install vim-runtime
Another cause might be that alternatives is pointing to the wrong one:
update-alternatives --display vim
to show what is used and ...
update-alternatives --config vim
to change to another vim. It could be that
/usr/bin/vim.gnome
is used and you need /usr/bin/vim
########################################################
It worked for me right after I installed vim-gui-common:
sudo apt-get install vim-gui-common
Hope this helps!
No comments:
Post a Comment