[oclug]vimrc files.

Ross Jordan rjordan at student.math.uwaterloo.ca
Thu Nov 14 13:25:49 EST 2002


> On Thu, 14 Nov 2002, Bart Trojanowski wrote:
> > something like...
> > :set pastetoggle=<F10>
> > ...could also be useful.
> 
> Too funny!   When I saw your post, I thought "Hey! good idea!".  So off I
> went into my .vimrc only to find that I'd already mapped it to F4 !
> 
> I've been using vim for so long now, I forget some of the trickery I have in
> my rc file.  I should give it another read, see what other good stuff lies
> dormant!
> 
> We should start a VimSIG ! ;>

Hmm, actually -- how about people post their .vimrc with explanations
for cool and/or obscure settings.

Here's mine (its very basic, but will hopefully get things going):

# xterm get a vim title
set title
# don't force vi compatibility
set nocompatible
# ignore case on searching 
set ignorecase
#display a little ruler
set ruler
# increase memory for undos
set undolevels=1000
# increase memory for history
set history=100
# auto-save files before commands like :next and :make
set autowrite
# Intelligent colouring for known filetypes.
syntax on
# C-style auto indenting
set cindent
# flicker the cursor to show matching parenthesis
set showmatch






More information about the OCLUG mailing list