Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.