Originally Posted by
laserlight
Interesting. I have only ever used ESC for that, but what advantage would the other methods have? Wouldn't rebinding capslock made it inconvenient for those rare cases where you actually want to use it to eh, shout?
Sure, but caps lock is on the home row, and escape is certainly not. I usually use ctrl + c. But that's rather... emacs'y. If you need to shout, just bind escape to caps lock, and caps lock to escape.
Oh and you forgot to mention, turn of vi compatibility mode, because even the bugs are mimicked.
Here's my .vimrc if anyone cares.
Code:
" zac's vimrc
" Wed Feb 11 07:28:14 UTC 2005
" func
set nocompatible " non vi compatible
set nobackup " no backup files (~)
set history=64 " command line history
" searching
set incsearch " incremental searching
set ignorecase " case insenitive search
set smartcase " if search has uppercase letters then search is case-sensitive
" behaviour
" backspace over everything in indent mode
set backspace=start,indent,eol
set mouse="" " no mouse support in X11
set confirm " always :confirm on exit
" complete options
set completeopt=menu,longest,preview
" appearance
set number " line numbers
set ruler " ruler
set showcmd " display incomplete commands
set showmatch " show the matching bracket for the last )
set nowrap " no wrapping
syn on " syntax highlighting
set showtabline=2 " tab bar at the top
" indenting
set tabstop=3 " tab = 3 spaces
set expandtab " space tabs
set cindent
set autoindent
set smartindent
" colour scheme
colorscheme delek