I started to experience a strange behavior in Vim - when saving a file (:w
) the cursor jumps to a specific location in a file. The location is constant and is different for different files, that is, it can be a beginning of a function etc, but if I move the line up or down, the location after save remains.
My .vimrc is quite long, and for now I tried only :noautocmd
command.
How can I fix or debug this?