Created
March 3, 2020 21:51
-
-
Save RodneyPerez/71181f8cd26c172678fa1d5e4531cc56 to your computer and use it in GitHub Desktop.
vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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