Hello all!
I'm trying to configure vim to use as C++/java programming. I've been always using vim, and, before I started coding anything, I always typed:
esc: set tabstop=4
and
set vb
to make the tab spaces equivalent to 4 spacebars and to use a visual bell instead of the annoying beep's. The thing is, whenever I try to add the line set tabstop=4 to .vimrc (to make it as default tabstop), when I code in C it does:
main()
{
<tab><tab>mycode
}
What I mean is, always after a "}" or "{" vim auto-places two tabspaces, when I want only one tab equivalent to 4 spaces. Using the vim command "esc: set tabstop=4" makes it work just fine, but not when added to .vimrc. This is hard to describe, I hope you can understand what I mean
. The very same happens with gvim.
1 - Any ideas about fixing this?
2 - Another question, is it possible to edit vim syntax-highlight colors? (Only vim, not gvim).