I have Vim version 8.0.122 on FreeBSD 9.3 (installed with pkg). I have default global vimrc. I want to disable mouse support completely on my account, so I put
set mouse=
in my local .vimrc. It works, mouse is disabled, but also autoindent is gone, i.e. I press enter in a .php or .c file and I'm back at the begining of the line instead of current indent position.
I want to have both, mouse disabled, autoindent working as it used to. What should I do?
.vimrc
file containing justset nocompatible
,set all&
,set ai bs=2 mouse=
and check that everything works correctly. Then try to isolate the problem.