-
Website
http://dmiessler.com/ -
Original page
http://dmiessler.com/blog/7-relatively-unknown-but-very-powerful-vim-features -
Subscribe
All Comments -
Community
-
Top Commenters
-
ax0n
5 comments · 1 points
-
Michael Blume
5 comments · 1 points
-
cooperati
179 comments · 2 points
-
dapxin
39 comments · 1 points
-
drew_reece
3 comments · 1 points
-
-
Popular Threads
if has("syntax)
syntax on
endif
Keeps you from getting a warning if your copy of vim doesn't have syntax highlighting turned on.
I also like to set my tabstop/shiftwidth to 4 (because 8 gets *really* messy when you nest enough if statements). Also, if you set one and not the other, I've found that some freaky stuff happens:
set tabstop=4
set shiftwidth=4