summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-10-15 17:29:48 -0400
committer53hornet <atc@53hor.net>2021-10-15 17:29:48 -0400
commit47181863eff38278775e1fb3748e0a7814b7deff (patch)
tree6d14fbc6389adfcd34ecd4b335ef5e5cee45954b /.vimrc
parentdc1fbe8f36b71d3742ec18fcd6aa7adb969bf499 (diff)
downloaddotfiles-47181863eff38278775e1fb3748e0a7814b7deff.tar.xz
dotfiles-47181863eff38278775e1fb3748e0a7814b7deff.zip
solarized
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 8d2fbd7..f9e4baf 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,4 +1,5 @@
" General options
+set wrap linebreak " break on words not chars
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set ttimeout " time out for key codes
@@ -15,12 +16,12 @@ set fillchars+=vert:\
syntax on " switch syntax highlighting on
" Matching and key mappings
-:match ErrorMsg '\%>80v.\+' " right-hand drift warning
+":match ErrorMsg '\%>80v.\+' " right-hand drift warning
" Automatically finish closing tags
augroup html_vue_hbs
au!
- autocmd BufNewFile,BufRead *.html|*.vue|*.hbs :inoremap <lt>/ </<C-x><C-o><Esc>==gi
+ autocmd BufNewFile,BufRead *.php|*.html|*.vue|*.hbs :inoremap <lt>/ </<C-x><C-o><Esc>==gi
autocmd BufNewFile,BufRead *.hbs set filetype=handlebars syntax=html
augroup END
@@ -53,7 +54,7 @@ Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}
call plug#end()
" COC.VIM
-let g:coc_global_extensions = ['coc-html', 'coc-rust-analyzer', 'coc-vetur', 'coc-prettier']
+let g:coc_global_extensions = ['coc-rust-analyzer', 'coc-vetur', 'coc-prettier']
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :