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\\\"