Thursday, March 25th, 2010

As a web developers, we gather a collection of various resources necessary for our work. The most important resources have become a Vim configuration and a terminal theme. As we move from computer to computer, it’s good to know that the editing environment functions in a consistent and predictable way.

set backspace=eol,start,indent
set smarttab
set smartindent
set tabstop=4
set autoindent
set shiftwidth=4
set expandtab
set softtabstop=4
syntax on
colorscheme slate
set statusline=[%02n]\ %f\ %(\[%M%R%H]%)%=\ %4l,%02c%2V\ %P%*
set laststatus=2
au BufNewFile,BufRead *.less set filetype=less
au BufNewFile,BufRead *.ss   set filetype=html
" Colour scheme
highlight Comment ctermfg=darkgray
highlight String ctermfg=lightcyan
highlight Keyword ctermfg=blue
highlight Type ctermfg=blue
highlight Typedef ctermfg=blue
highlight Number ctermfg=lightred
highlight Identifier ctermfg=magenta
highlight Statement ctermfg=blue
highlight Operator ctermfg=white
highlight PreProc ctermfg=white
highlight Define ctermfg=blue
highlight Special ctermfg=gray
highlight Structure ctermfg=white
highlight Constant ctermfg=lightmagenta
highlight Function ctermfg=gray
highlight LineNr ctermfg=black
" HTML Syntax
highlight htmlEndTag ctermfg=gray
highlight htmlTagName ctermfg=lightblue
highlight htmlArg ctermfg=gray

Download the official WebIT terminal configuration.