vim: set gui font to Inconsolata-dz; tweak template iab
This commit is contained in:
5
vimrc
5
vimrc
@@ -54,6 +54,9 @@ call plug#begin('~/.vim/plugged')
|
|||||||
Plug 'delphinus/vim-firestore'
|
Plug 'delphinus/vim-firestore'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
if has("gui")
|
||||||
|
set guifont=Inconsolata-dz:h12
|
||||||
|
endif
|
||||||
let mapleader = ' '
|
let mapleader = ' '
|
||||||
let maplocalleader = ','
|
let maplocalleader = ','
|
||||||
|
|
||||||
@@ -206,7 +209,7 @@ augroup filetype vue
|
|||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufRead,BufNewFile *.vue inoremap cll console.log()<left>
|
autocmd BufRead,BufNewFile *.vue inoremap cll console.log()<left>
|
||||||
call TabSize(2)
|
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 script <script><cr>export default {<cr>name: ""<cr>};<cr></script
|
||||||
iabbrev stylescope <style scoped><cr></style
|
iabbrev stylescope <style scoped><cr></style
|
||||||
augroup END
|
augroup END
|
||||||
|
|||||||
Reference in New Issue
Block a user