Skip to content

Instantly share code, notes, and snippets.

@atmos
Created November 17, 2012 06:25
Show Gist options
  • Save atmos/4091455 to your computer and use it in GitHub Desktop.
Save atmos/4091455 to your computer and use it in GitHub Desktop.
my .vimrc file from 2006
" lots stolen from Tom Gilbert and Gnea's vimrc
filetype on
syntax on
set expandtab
set autoindent
set autowrite
set backspace=2
set background=dark
set fileformat=unix
set directory=/home/atmos/.vimswap
set hidden
set history=100
set laststatus=2
set magic
set noerrorbells
set noautowrite
set nobackup
set nostartofline
set nowritebackup
set ruler
set shell=/bin/zsh
set shiftwidth=4
set showcmd
set showmatch
set showmode
set smartindent
set smarttab
set tabstop=4
set shiftwidth=4
set softtabstop=4
set tw=76
set title
set ttyfast
set ttybuiltin
set undolevels=10000
set wildchar=<TAB>
map alias :map
map M :!make
map T :!make test
"autocmd!
iab teh the
iab prinft printf
iab enld endl
"------ this clears out the old colors before we begin
highlight Constant NONE
highlight Delimiter NONE
highlight Directory NONE
highlight Error NONE
highlight ErrorMsg NONE
highlight Identifier NONE
highlight LineNr NONE
highlight ModeMsg NONE
highlight MoreMsg NONE
highlight Normal NONE
highlight NonText NONE
highlight PreProc NONE
highlight Question NONE
highlight Search NONE
highlight Special NONE
highlight SpecialKey NONE
highlight Statement NONE
highlight StatusLine NONE
highlight Title NONE
highlight Todo NONE
highlight Type NONE
highlight Visual NONE
highlight WarningMsg NONE
"----- these are the new superior colors
"highlight Comment term=bold ctermfg=5 ctermbg=0
highlight Comment term=bold ctermfg=5
highlight Constant term=underline ctermfg=6
highlight Delimiter term=bold cterm=bold ctermfg=1
highlight Directory term=bold ctermfg=DarkBlue
highlight Error term=standout cterm=bold ctermbg=1 ctermfg=1
highlight ErrorMsg term=standout cterm=bold ctermfg=1
highlight Identifier term=underline ctermfg=3
highlight LineNr term=underline cterm=bold ctermfg=3
highlight ModeMsg term=bold cterm=bold ctermfg=3 ctermbg=1
highlight MoreMsg term=bold cterm=bold ctermfg=2
highlight NonText term=bold ctermfg=2
highlight Normal ctermfg=white ctermbg=black
highlight Normal ctermfg=white
highlight PreProc term=underline ctermfg=14
highlight Question term=standout cterm=bold ctermfg=2
highlight Search term=reverse ctermbg=2
highlight Special term=bold ctermfg=5
highlight SpecialKey term=bold ctermfg=DarkBlue
highlight Statement term=bold ctermfg=2
highlight StatusLine term=reverse cterm=bold ctermfg=3 ctermbg=4
highlight StatusLineNC term=bold ctermfg=3 ctermbg=2
highlight Title term=bold cterm=bold ctermfg=4
highlight Todo term=underline ctermfg=red ctermbg=yellow
highlight Type term=underline cterm=bold ctermfg=3
highlight Visual term=reverse cterm=bold ctermfg=6 ctermbg=5
highlight WarningMsg term=standout cterm=bold ctermfg=1 ctermbg=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment