Skip to content

Instantly share code, notes, and snippets.

@RodneyPerez
Created March 3, 2020 21:51
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 RodneyPerez/71181f8cd26c172678fa1d5e4531cc56 to your computer and use it in GitHub Desktop.
Save RodneyPerez/71181f8cd26c172678fa1d5e4531cc56 to your computer and use it in GitHub Desktop.
vimrc
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
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'hashivim/vim-terraform'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'elzr/vim-json'
Plug 'prettier/vim-prettier', {
\ 'do': 'yarn install',
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
call plug#end()
let g:terraform_fmt_on_save=1
let g:terraform_fold_sections=0
let g:terraform_remap_spacebar=1
set colorcolumn=80
highlight ColorColumn ctermbg=LightGray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment