From 1e4fec6870e0683709a9551d025c303f57d545ea Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 15 Jul 2017 11:55:27 +0100 Subject: [PATCH] Add and configure emmet --- .gitmodules | 3 +++ .vimrc | 6 +++++- bundle/emmet-vim | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 160000 bundle/emmet-vim diff --git a/.gitmodules b/.gitmodules index ad66625..a56cd11 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/.vimrc b/.vimrc index 62cf352..cb7d0e0 100644 --- a/.vimrc +++ b/.vimrc @@ -81,9 +81,12 @@ 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="" +let g:user_emmet_install_global = 0 -let g:vimtex_view_method = 'zathura' " Quick tex options {{{2 " HTML {{{3 @@ -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 diff --git a/bundle/emmet-vim b/bundle/emmet-vim new file mode 160000 index 0000000..9c6d783 --- /dev/null +++ b/bundle/emmet-vim @@ -0,0 +1 @@ +Subproject commit 9c6d7836362ab10ce669bd343d4585e5a500e05c