Skip to content

Instantly share code, notes, and snippets.

@bobbygrace
Created Jul 27, 2010
Embed
What would you like to do?
""" vimrc """
" ~/.vim
" - autoload
" - pathogen
" - bundle
" - nerdtree
" - supertab
" - vim-coffee-script
" - syntax
" - less.vim
" http://www.vim.org/scripts/script.php?script_id=2332
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
" http://www.vim.org/scripts/script.php?script_id=3590
au BufNewFile,BufRead *.less set filetype=less
au BufNewFile,BufRead *.css set filetype=less
syntax on
set expandtab
set autoindent
set shiftwidth=2
set softtabstop=2
set tabstop=2
set number
set incsearch
set ruler
set iskeyword+=_,$,@,%,#
" turn off all bells
set noerrorbells
set t_vb=
" omni completion
" http://vim.wikia.com/wiki/Omni_completion
filetype plugin on
set ofu=syntaxcomplete#Complete
set mouse=a
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v]
" | | | | | | | | | | |
" | | | | | | | | | | + current
" | | | | | | | | | | column
" | | | | | | | | | +-- current line
" | | | | | | | | +-- current % into file
" | | | | | | | +-- current syntax in
" | | | | | | | square brackets
" | | | | | | +-- current fileformat
" | | | | | +-- number of lines
" | | | | +-- preview flag in square brackets
" | | | +-- help flag in square brackets
" | | +-- readonly flag in square brackets
" | +-- rodified flag in square brackets
" +-- full path to file in the buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment