my .vimrc

syntax on set nocompatible set autoindent set smartindent set tabstop=4 set shiftwidth=4 set expandtab set showmatch

# map F2 key to toggle auto indent while pasting indented code.
nnoremap :set invpaste paste?
set pastetoggle=
set showmode

Continue reading »

the ultimate screen setup

my buddy Josh shared his screenrc config recently. it is the ultimate configuration for one of my favorite time saving apps, screen.

cat ~/.screenrc vbell off # # Change this to the character you wish to use with ctrl instead of 'A' # # i.e. escape "``" means ctrl-` ` # escape ^zz scrollback 10000 hardstatus …

Continue reading »