Skip to content

Instantly share code, notes, and snippets.

@herberthamaral
Created November 12, 2011 14:31
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 herberthamaral/1360589 to your computer and use it in GitHub Desktop.
Save herberthamaral/1360589 to your computer and use it in GitHub Desktop.
set expandtab
set autoindent
syntax enable
set shiftwidth=4
set tabstop=4
set softtabstop=4
filetype plugin indent on
set hlsearch
set incsearch
call pathogen#runtime_append_all_bundles()
"some mappings
map <Tab> :tabnext<cr>
map <S-Tab> :tabprevious<cr>
set wildmenu
source ~/.vim/bundle/autoclose.vim
let w:solarized_style="dark"
colorscheme solarized
autocmd BufNewFile,BufRead *.md set ft=markdown
set directory=/tmp
set columns=80
set textwidth=80
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+/
set mouse=a
cmap w!! %!sudo tee > /dev/null %
set statusline=%F%m%r%h%w\ [TYPE=%Y\ %{&ff}]\
\ [%l/%L\ (%p%%)
set number
" allow .vimrc inside projects directories
set exrc
set secure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment