The officially official Devuan Forum!

You are not logged in.

#1 2020-12-15 21:42:25

nobodyuknow
Member
Registered: 2017-09-10
Posts: 95  

SOLVED: Error detected while processing /home/nobody/.vimrc

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

#2 2020-12-16 01:57:42

bgstack15
Member
Registered: 2018-02-04
Posts: 200  

Re: SOLVED: Error detected while processing /home/nobody/.vimrc

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

#3 2020-12-16 18:25:32

nobodyuknow
Member
Registered: 2017-09-10
Posts: 95  

Re: SOLVED: Error detected while processing /home/nobody/.vimrc

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

Board footer