|Don't ask to ask, just ask|
Vim configs (slightly OT)by djw (Vicar)
|on May 15, 2002 at 22:02 UTC||Need Help??|
Just to get a few things out of the way:
On to The Meat (tm).
I was playing a bit with my .vimrc file today and wondered what some of you out there had slapped together. I am no expert programmer and I don't live in this tool as much as some of you probably do. I was wondering if anybody would be willing to show some fancy tricks or part of their configs that they liked to share.
Here is my .vimrc (very short):
line #1: sets an alias '#b' to '# ----------' for comments.
line #2: sets my background to dark so my gnome terminal looks ok with the syntax on.
line #3: turns syntax highlighting on.
line #4: turns smartindent on (watches for left and right curly braces for automatic insertion and removal of indentation).
line #5: mingles tabs and spaces for tabbing within your file. At my setting, if I hit tab once, it creates four spaces, if I hit it again, it creates a tab. Nice when going from one editor to another and not having too much tabs.
Anyhow, that is my config and I know its fairly sparse. Anybody else want to share?