Questions tagged [default-settings]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
598 views

Vim on Debian, configuration issues

I have been working with a stock vim configuration for a long time. I want to modify just a couple of settings. I don't want to lose the rest of the default configuration. If I create a new .vimrc I ...
Spiru's user avatar
  • 43
0 votes
2 answers
474 views

Is there any way to change the default startup text in vim?

When you first open vim there is a text that says "VIM - Vi IMproved version......" Is there a file or setting you can use to change this default text? I've looked on the internet and here ...
Levi_OP's user avatar
  • 103
14 votes
2 answers
10k views

Advice to add `set nocompatible` as first line of .vimrc

I recall (perhaps in the early 2000's) having set nocompatible as the first line of my vimrc and most Vim guides and tutorials recommending that practice. Some examples I could easily find online: ...
filbranden's user avatar
  • 28.8k
3 votes
2 answers
1k views

Where does neovim store its defaults? Where is the defaults.vim for neovim?

On regular vim, you can find the defaults in defaults.vim. These are sourced when there is no .vimrc, or when you include in your .vimrc the following, source $VIMRUNTIME/defaults.vim " Source ...
Evan Carroll's user avatar
  • 1,314
-1 votes
2 answers
3k views

How to disable defaults.vim?

On my system vim has a "defaults.vim" file that is getting sourced. For example, if I do vim --version, I see the following: system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" ...
Tyler Durden's user avatar
  • 2,101