Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@levicook
Created September 29, 2014 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levicook/e1954229706c30d05e55 to your computer and use it in GitHub Desktop.
Save levicook/e1954229706c30d05e55 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
syntax on
filetype plugin indent on
set nowrap
set background=dark
colorscheme solarized
map <leader>f :Ack<space>
map pt :tabp<CR>
" Quick fix navigation (next error, prev error, etc)
map ne :cnext<CR>
map pe :cprev<CR>
let g:solarized_termcolors=256
autocmd Filetype go setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd Filetype html setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd Filetype html.mustache setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd Filetype javascript setlocal shiftwidth=4 softtabstop=4 tabstop=4 expandtab
autocmd Filetype less setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd Filetype ruby setlocal shiftwidth=2 softtabstop=2 tabstop=2 expandtab
autocmd Filetype scss setlocal shiftwidth=2 softtabstop=2 tabstop=2
autocmd Filetype yaml setlocal shiftwidth=2 softtabstop=2 tabstop=2 expandtab
autocmd BufNewFile,BufReadPost Rakefile set filetype=ruby
let NERDTreeHijackNetrw=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment