You are not logged in.
Every time I build a Devuan system, and some other distros, I disable colored vi. It's always been simple: create a .vimrc file and insert "syntax off" into it.
But now I get an error:
vi .bashrc
Error detected while processing /home/nobody/.vimrc:
line 1:
E319: Sorry, the command is not available in this version: syntax off
Press ENTER or type command to continue
Here's the contents of .vimrc:
cat .vimrc
syntax off
And it's in the correct location:
pwd
/home/nobody
Did something change recently in vi?
P.S. In case it matters, this is Cinnamon.
Last edited by nobodyuknow (2020-12-16 18:33:19)
Offline
Make sure that you have "vim" package installed and not just "vim-tiny." That sounds like you've got the bare minimum vi implementation in a Debian-like system.
This space intentionally left blank.
Offline
Thanks for the reply. Yes, that was exactly the problem. Strange that it never happened before, as I use vi to edit a number of files immediately after installation.
Offline