Apparently Ubuntu 11.10 uses Vim when I type
How do I force Ubuntu to use Vi instead?
Decide which vi-compatible tool you want to use.
vim, elvis, nvi, vigor (etc). You may want to study the output of
apt-cache search editor |grep vi and look for other alternatives.
nvi claims to be "bug for bug" compatible with vi.
Once you've done that, install the package:
apt-get install $YOURCHOICE
update-alternatives --config vi
and choose $YOURCHOICE as the one to set as "vi".
If by any chance you just want to get rid of Vim specific features, you can also make sure that Vim runs in compatible mode.