Skip to content

Instantly share code, notes, and snippets.

@terryh
Last active December 11, 2015 17:08
Show Gist options
  • Select an option

  • Save terryh/4632071 to your computer and use it in GitHub Desktop.

Select an option

Save terryh/4632071 to your computer and use it in GitHub Desktop.
"colorscheme desert
set mouse+=a
UnBundle 'myusuf3/numbers.vim'
UnBundle 'airblade/vim-gitgutter'
"UnBundle 'tpope/vim-fugitive'
UnBundle 'Lokaltog/powerline'
autocmd FileType html set ft=htmldjango.html shiftwidth=2 tabstop=2 softtabstop=2 expandtab
autocmd FileType javascript setlocal shiftwidth=2 tabstop=2 softtabstop=2 expandtab
autocmd FileType jade setlocal shiftwidth=2 tabstop=2 softtabstop=2 expandtab
"autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr>
map <leader>jj :%!js-beautify -s 2 %<cr>
map <F4> :CtrlPBuffer<cr>
"airline
let g:airline_powerline_fonts=1
"syntax on
map <F8> :TagbarToggle<CR>
"let NERDTreeQuitOnOpen=0
set nofoldenable " disable folding
"let g:bufexplorer_version = "disabled"
let g:snips_author="TerryH, email: terryh.tp at gmail.com"
let g:spf13_consolidated_directory="/tmp/"
" auto reload vimrc when editing it
autocmd! bufwritepost .vimrc source ~/.vimrc
"http://www.reddit.com/r/vim/comments/1dyun6/why_does_powerline_make_vim_significantly_slower/
set statusline=%<\ %F%=\ %{&fileformat}\ \|\ %{&fileencoding}\ \|\ %{&filetype}\ \|\ %p%%\ \|\ LN\ %l:%c\
colorscheme wombat
hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=234 cterm=BOLD
hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment