Skip to content

Instantly share code, notes, and snippets.

@dam5s
Created June 2, 2011 01:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dam5s/1003744 to your computer and use it in GitHub Desktop.
Save dam5s/1003744 to your computer and use it in GitHub Desktop.
call pathogen#runtime_append_all_bundles()
set wildmenu
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set smarttab
set autoindent
set nu
colo default
syn on
set hlsearch
set nowrap
set hidden
let $ACK_OPTIONS = "--type-set=haml=.haml"
let g:NERDShutUp = 1
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplModSelTarget = 1
" Supertab settings
let g:SuperTabDefaultCompletionTypeDiscovery = [ "&completefunc:<c-x><c-u>", "&omnifunc:<c-x><c-o>" ]
let g:SuperTabLongestHighlight = 1
map <F4> :execute 'NERDTreeToggle ' . getcwd()<CR>
map <leader>l :set list!<CR>
map <leader>s :%s/\s\+$//e<CR>
set listchars=tab:▸\ ,eol:¬
inoremap kj <Esc>
vnoremap kj <Esc>
filetype on
filetype plugin indent on
"Filetype for particular extensions
au BufNewFile,BufRead *.rcss set filetype=css
au BufNewFile,BufRead *utotest set filetype=ruby
au BufNewFile,BufRead *.api set filetype=ruby
au BufNewFile,BufRead *.pill set filetype=ruby
if has("autocmd")
autocmd FileType make setlocal ts=8 sts=8 sw=8 noexpandtab
autocmd FileType java setlocal ts=4 sts=4 sw=4 expandtab cindent
autocmd FileType xml setlocal ts=4 sts=4 sw=4 expandtab
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment