I'm working long time with my own
vimrc and lots of adjustments for different file types, ... in the macOS terminal (Vim 7.4.8056)and (the same config-files) on a rented Apache Server.
Now I just copied the
.vimrc and my
.vim-directory to a new Ubuntu-System (Vim 8). And it doesn't work. Just typing in
vi returns lots of errors.
And the mysterious thing is that these errors don't make any sense for me. There are difficulties with:
filetype plugin on
All these commands are used in Vim 8, too. Do you have an idea what I can do to solve the problems instead of installing Vim 7? Or is there another configuration file working against mine?
Here you'll find the answers of Ralf's questions (I translated as best as possible from German to English):
- Does the same error occur if you start it as vim instead of vi? Answer:
vim cannot be found
- What is the output of
update-alternatives --display viand
update-alternatives --display vim? Answer:
Best version of the link = /usr/bin/vim.tiny Link "links" at the moment to /usr/bin/vim.tiny Link vi is /usr/bin/vi /usr/bin/vim.tiny - priority 15
- The output of
vim-versionon Ubuntu? Answer:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58)