I was just started with Vim. While experimenting with basic customization techniques, it began to behave differently.
Somehow the default configurations changed to very basic for both GVim and terminal version.
- No syntax highlighting.
- Links are shown in bars ( |example| ).
- No mouse support (for terminal version only).
Currently both .vimrc
and .gvimrc
files are empty and it was the same when it worked without issues. I think I can change them by editing them. But I wonder how did this happen.
I am using Gnome on debian 4.19. I tried reinstalling both Vim and GVim. It didn't work.
Any help would be highly appreciated.
:h startup
- i suggest double-checking that those mentioned in steps 1 and 3 are in their default state:set mouse=a
. also, please check that your version of vim was compiled with the necessary features -:ve
should list+syntax
and+mouse
in its output. debian has several vim packages compiled with different flags..vimrc
" is not the same as "no.vimrc
". Delete it, and you'll get your syntax and mouse back (hint: this is indefaults.vim
).