Skip to content

Instantly share code, notes, and snippets.

@VAggrippino
Created March 6, 2014 06:56
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 VAggrippino/9383824 to your computer and use it in GitHub Desktop.
Save VAggrippino/9383824 to your computer and use it in GitHub Desktop.
set shell=cmd
set shellcmdflag=/c
execute pathogen#infect()
Helptags
map <C-O> :FufFile<CR>
noremap <F4> :TlistToggle<Enter>
let Tlist_Exit_OnlyWindow = 1
let Tlist_Auto_Open = 1
let Tlist_Auto_Update = 1
let Tlist_Enable_Fold_Column = 0
set incsearch
set hlsearch
set backspace=indent,eol,start
set shiftwidth=4
set expandtab
set tabstop=4
set listchars+=tab:>-
set number
set showcmd
set modeline
set foldcolumn=4
set foldmethod=manual
set formatoptions-=ro
set tabpagemax=150
set colorcolumn=80
colorscheme default
set background=dark
autocmd BufRead,BufNewFile *.html,*.pl,*.css,*.scss set smartindent
autocmd BufRead,BufNewFile *.py set expandtab
autocmd BufRead,BufNewFile *.less set filetype=css
autocmd BufWinLeave *.pl,*.php,*.py,*.html,*.htm,*.css,*.scss,*.js,*.cpp,*.h mkview!
autocmd BufWinEnter *.pl,*.php,*.py,*.html,*.htm,*.css,*.scss,*.js,*.cpp,*.h silent loadview
autocmd BufWinEnter */itsalltext/mail.google.com.*.txt set filetype=plaintextemail
autocmd BufWinEnter */itsalltext/www.ghodmode.com.*.txt set filetype=html shiftwidth=4 tabstop=4 expandtab
autocmd Filetype gitcommit setlocal spell textwidth=72
"http://stackoverflow.com/questions/235439/vim-80-column-layout-concerns#answer-235970
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929
"match OverLength /\%81v.\+/
filetype plugin on
set omnifunc=syntaxcomplete#Complete
syntax enable
set encoding=utf-8
let g:airline_powerline_fonts = 1
let g:Powerline_symbols = 'fancy'
set laststatus=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment