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

Message
Author
profhawk
Posts: 7
Joined: Fri Nov 19, 2021 6:57 am

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

#1 Post 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.

User avatar
Adrian
Developer
Posts: 8875
Joined: Wed Jul 12, 2006 1:42 am

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

#2 Post 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/

Post Reply

Return to “Software / Configuration”