Add and configure emmet
This commit is contained in:
parent
8240d421bd
commit
1e4fec6870
3 changed files with 10 additions and 2 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -50,3 +50,6 @@
|
|||
[submodule "bundle/vim-json"]
|
||||
path = bundle/vim-json
|
||||
url = https://github.com/elzr/vim-json
|
||||
[submodule "bundle/emmet-vim"]
|
||||
path = bundle/emmet-vim
|
||||
url = https://github.com/mattn/emmet-vim
|
||||
|
|
8
.vimrc
8
.vimrc
|
@ -81,10 +81,13 @@ let g:airline_powerline_fonts = 1
|
|||
let g:airline_theme='dark'
|
||||
|
||||
" Vimtex
|
||||
|
||||
|
||||
let g:vimtex_view_method = 'zathura'
|
||||
|
||||
" Emmet
|
||||
let g:user_emmet_leader_key="<C-l>"
|
||||
let g:user_emmet_install_global = 0
|
||||
|
||||
|
||||
" Quick tex options {{{2
|
||||
" HTML {{{3
|
||||
let g:quicktex_html = {
|
||||
|
@ -310,6 +313,7 @@ endfun
|
|||
augroup file_web
|
||||
autocmd!
|
||||
autocmd FileType html,xhtml,css,less,javascript,php setlocal foldmethod=indent foldenable
|
||||
autocmd FileType html,xhtml,css,less,javascript,php EmmetInstall
|
||||
augroup END
|
||||
|
||||
" Add Html maps, Currently only pandoc conversion {{{2
|
||||
|
|
1
bundle/emmet-vim
Submodule
1
bundle/emmet-vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9c6d7836362ab10ce669bd343d4585e5a500e05c
|
Loading…
Add table
Add a link
Reference in a new issue