21zoo Labs - Assorted Stuff

vi/vim - disable visual mode and enable syntax highlighting

Posted — Dec 28, 2024

In vi/vim, to disable visual mode and keep the syntax highlighting:

Add to your ~/.vimrc file:

set mouse=
syntax on