Skip to content

Instantly share code, notes, and snippets.

@efuquen
Created July 30, 2018 03:43
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 efuquen/88b41cf010a7c22675efd5558762764d to your computer and use it in GitHub Desktop.
Save efuquen/88b41cf010a7c22675efd5558762764d to your computer and use it in GitHub Desktop.
" Installs vim-plug.
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
Plug 'NLKNguyen/papercolor-theme'
" Initialize plugin system
call plug#end()
" General configuration
syntax on
set background=light
colorscheme PaperColor
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=2
" when indenting with '>', use 4 spaces width
set shiftwidth=2
" On pressing tab, insert 4 spaces
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment