Skip to content

Instantly share code, notes, and snippets.

@katspaugh
Created January 18, 2011 01:04
Show Gist options
  • Save katspaugh/783824 to your computer and use it in GitHub Desktop.
Save katspaugh/783824 to your computer and use it in GitHub Desktop.
Alphabetically sorted!
set encoding=utf-8 fileencodings=utf-8
syntax on
"syntax sync fromstart
let no_buffers_menu=1
set backspace=indent,eol,start
set history=50
set hlsearch
set incsearch
set laststatus=2 statusline=%<%f\ %h%m%r%=[FENC:%7.(%{&fenc}%)]\ %14.(%l,%c%V%)\ \ \ %P
set list listchars=tab:»·,trail:·,eol:¶,extends:❭,precedes:❬
set mouse=a ttymouse=xterm2
set mousemodel=popup
set nocp
set noignorecase
set nowrap
set number
set pastetoggle=<F2>
set showcmd
set smartindent
set smarttab
set tabstop=4 shiftwidth=4
set termencoding=utf8
set wildmenu
au! BufRead,BufNewFile *.json setfiletype javascript
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
"set foldcolumn=2
"set foldenable
"set foldmethod=manual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment