Skip to content

Instantly share code, notes, and snippets.

@amadeus amadeus/example.vimrc
Last active May 20, 2019

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