3

I have two Ubuntu Linux 18.04.3 LTS systems, both have vim identify itself as "VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 06 2019 17:31:41)"

One of the systems supports the vim -x option, the other one does not.

How is that possible?

3

On one system, vim is a symbolic link to vim.basic, on the other it is a symbolic link to vim.tiny.

vim.basic supports the -x option. vim.tiny doesn't.

Problem solved.

  • This answer could be improved by indicating how to manage the symlinks. I believe it's using update-alternatives, but I don't recall the exact arguments and don't have a system where I can easily test this right now... If you could fill in the details, that would be awesome. Thanks! – filbranden Aug 30 '19 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.