19
4
I decided to change my tab size from 4 to 2, because why not? Anyone else who wants to look at the code can surely use thier preferences.
However, a question.
If I hit the tab key, it inserts 2, but Vim's autoindent is still putting 4. What do I change to make that 2?
Another unrelated question: Which indent style is best for C and similar languages? I have been using 1TBS, but there are so many to choose from. Are any of them more professional or preferred?
This is what I was looking for.
Currently debating between setting
ts
as 2, 4, or 8 – user341814 – 2014-07-09T03:19:36.133I use 8 on non-code files, and either 2 or 4 depending on the language and how much nesting tends to occur. – Heptite – 2014-07-09T03:28:14.457
I only do C at the moment. – user341814 – 2014-07-09T05:17:34.987