Skip to content

Instantly share code, notes, and snippets.

@amadeus
Last active May 20, 2019 22:34
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 amadeus/a38abbb97438ed7650e57515d9dd6fe4 to your computer and use it in GitHub Desktop.
Save amadeus/a38abbb97438ed7650e57515d9dd6fe4 to your computer and use it in GitHub Desktop.
" Base .vimrc file
if has('vim_starting')
set nocompatible
endif
" Ensure all directories are setup properly and download plug.vim
if empty(glob('~/.vim/autoload/plug.vim'))
execute '!mkdir -p ~/.vim/bundle ~/.vim/backup ~/.vim/swap ~/.vim/cache ~/.vim/undo ~/.vim/autoload ~/.vim/bundle'
execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
endif
call plug#begin('~/.vim/bundle')
" Plugins go here, Example:
" Plug 'pangloss/vim-javascript'
" Actual url for the plugin is https://github.com/pangloss/vim-javascript
call plug#end()
" Your normal .vimrc configuration should go here
set wildmenu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment