vim: set gui font to Inconsolata-dz; tweak template iab

This commit is contained in:
2020-10-25 10:56:28 +00:00
parent a6c3846656
commit 7f91dd73a9

5
vimrc
View File

@@ -54,6 +54,9 @@ call plug#begin('~/.vim/plugged')
Plug 'delphinus/vim-firestore'
call plug#end()
if has("gui")
set guifont=Inconsolata-dz:h12
endif
let mapleader = ' '
let maplocalleader = ','
@@ -206,7 +209,7 @@ augroup filetype vue
autocmd!
autocmd BufRead,BufNewFile *.vue inoremap cll console.log()<left>
call TabSize(2)
iabbrev template <template><cr> <div><cr></div><cr></template
iabbrev template <template><cr><div><cr></div><cr></template
iabbrev script <script><cr>export default {<cr>name: ""<cr>};<cr></script
iabbrev stylescope <style scoped><cr></style
augroup END