Page 1 of 1

Is there a default .vimrc file? + easy c set up?

Posted: Sun May 22, 2022 2:51 pm
by profhawk
Is there a default vimrc file? I'm clearly not a regular vim user. I don't remember having to create one the last time I used vim. It would be also greatly appreciated if someone had a lazy mans vim setup for C.

Re: Is there a default .vimrc file? + easy c set up?

Posted: Sun May 22, 2022 2:57 pm
by Adrian
The default one is empty. You can add stuff that matters to you, everybody has different preferences/needs, main option for programming I think is "syntax on" and maybe "set number" if you want to know what line you are on.

Can look here through most common options:
https://www.shortcutfoo.com/blog/top-50 ... n-options/