diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-12-15 18:14:58 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-12-15 18:14:58 -0500 |
commit | 9710351be5ee483d1326aa3570e4afe782e48570 (patch) | |
tree | 403870f6e0c8397d1185c136529b94706d4310e7 /.vimrc | |
parent | 0a16ab8ab338ca93f6d12b424182ad079d502d10 (diff) | |
download | dotfiles-9710351be5ee483d1326aa3570e4afe782e48570.tar.xz dotfiles-9710351be5ee483d1326aa3570e4afe782e48570.zip |
updated package list, updated muttrc with smtp, added some themes
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 34 |
1 files changed, 6 insertions, 28 deletions
@@ -16,8 +16,12 @@ syntax on " switch syntax highlighting on " Matching and key mappings :match ErrorMsg '\%>80v.\+' " right-hand drift warning -"" automatically finish closing tags -:inoremap <lt>/ </<C-x><C-o><Esc>==gi + +" Automatically finish closing tags +augroup html_vue_hbs + au! + autocmd BufNewFile,BufRead *.html|*.vue|*.hbs :inoremap <lt>/ </<C-x><C-o><Esc>==gi +augroup END " only do this if autocommands enabled if has("autocmd") @@ -44,35 +48,9 @@ if empty(glob('~/.vim/autoload/plug.vim')) endif call plug#begin('~/.vim/plugged') -"Plug 'dense-analysis/ale' Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} call plug#end() -"" ALE -"let g:ale_linter_aliases = { -"\ 'vue': ['vue', 'javascript'], -"\ 'liquid': ['liquid', 'html'], -"\} -"let g:ale_linters = { -"\ 'vue': ['eslint', 'vls'], -"\ 'javascript': ['eslint'], -"\ 'html': ['htmlhint'], -"\ 'rust': [] -"\} -"let g:ale_fixers = { -"\ 'css': ['prettier'], -"\ 'html': ['prettier'], -"\ 'javascript': ['eslint'], -"\ 'json': ['prettier'], -"\ 'liquid': ['prettier'], -"\ 'markdown': ['prettier'], -"\ 'vue': ['eslint'], -"\ 'scss': ['prettier'], -"\ '*': ['remove_trailing_lines', 'trim_whitespace'], -"\ 'rust': [] -"\} -"let g:ale_fix_on_save = 1 - " COC.VIM inoremap <silent><expr> <TAB> \ pumvisible() ? "\<C-n>" : |