Advertisement
Guest User

basic vimrc

a guest
Apr 26th, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. " vim: fdm=marker
  2. " Vundle configuration {{{
  3. set nocompatible " be iMproved, required
  4. filetype off " required
  5.  
  6. " Setting up Vundle - the vim plugin bundler
  7. let install_needed=0
  8. let vundle_readme=expand('~/.vim/bundle/vundle/README.md')
  9. if !filereadable(vundle_readme)
  10. echo "Installing Vundle.."
  11. echo ""
  12. silent !mkdir -p ~/.vim/bundle
  13. silent !git clone https://github.com/gmarik/vundle ~/.vim$
  14. let install_needed=1
  15. endif
  16.  
  17. set rtp+=~/.vim/bundle/vundle/
  18. call vundle#rc()
  19. Bundle 'gmarik/vundle'
  20. "
  21. " bundles:
  22. Bundle 'fatih/vim-go'
  23. " }}}
  24. if install_needed == 1
  25. :BundleInstall
  26. endif
  27. filetype plugin indent on
  28. set omnifunc=syntaxcomplete#Complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement