From 1280326cf4a868e0621d41db3d05d68d4f6a27c5 Mon Sep 17 00:00:00 2001 From: mitchell Date: Tue, 7 Jul 2020 21:40:49 -0400 Subject: [PATCH] Update .vimrc --- .vimrc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.vimrc b/.vimrc index 9215099..9877213 100644 --- a/.vimrc +++ b/.vimrc @@ -37,6 +37,7 @@ Plug 'HerringtonDarkholme/yats.vim' Plug 'MaxMEllon/vim-jsx-pretty' Plug 'fsharp/vim-fsharp', { 'do': './make' } Plug 'hashivim/vim-terraform' +Plug 'b4b4r07/vim-hcl' Plug 'PProvost/vim-ps1' Plug 'vmchale/dhall-vim' @@ -71,8 +72,8 @@ nnoremap d :ALEDetail nnoremap h :ALEHover nnoremap a :Ack nnoremap we :VimwikiAll2HTML -nnoremap z :Goyo -nnoremap Z :Goyo 110x100% +nnoremap z :Goyo 101x100% +nnoremap Z :Goyo " Allows you to use // in order to search for the visually selected text vnoremap // y/\V=escape(@",'/\') @@ -83,6 +84,8 @@ let &t_ut='' let g:gruvbox_italic=1 colorscheme gruvbox +highlight Normal ctermbg=None + let g:ackprg = 'ag --nogroup --nocolor --column' let g:lightline = { @@ -103,6 +106,7 @@ let g:ale_linters = { \ 'cs': ['OmniSharp'], \ 'terraform': ['terraform', 'tflint'], \ 'ruby': ['rubocop', 'solargraph'], +\ 'css': ['stylelint'], \} @@ -111,7 +115,7 @@ let g:ale_fixers = { \ 'graphql': ['prettier'], \ 'javascript': ['eslint'], \ 'typescript': ['eslint'], -\ 'css': ['prettier'], +\ 'css': ['prettier', 'stylelint'], \ 'yaml': ['prettier'], \ 'json': ['prettier'], \ 'dart': ['dartfmt'], @@ -140,11 +144,6 @@ augroup js_ft autocmd BufNewFile,BufRead *.tsx set ft=typescript.tsx augroup END -augroup wiki_ft - au! - autocmd BufNewFile,BufRead *.wiki set textwidth=79 -augroup END - if exists('$TMUX') let &t_SI = "\Ptmux;\\]50;CursorShape=1\x7\\\" let &t_EI = "\Ptmux;\\]50;CursorShape=0\x7\\\"