about summary refs log tree commit diff stats
path: root/dot_config
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2023-06-13 13:45:25 -0300
committerVitor Gonçalves <vitorg@tilde.team>2023-06-13 13:45:25 -0300
commit3559c3299771f5671cc149f20a4f1e7118dfbb97 (patch)
tree2823c41d3ff3ddc64809a3b02eba984ea11f0f94 /dot_config
parentff53e6a81839f3826feb189ca6f14315742b1757 (diff)
downloaddots-3559c3299771f5671cc149f20a4f1e7118dfbb97.tar.gz
feat: added emmet-vim plugin
Diffstat (limited to 'dot_config')
-rw-r--r--dot_config/nvim/init.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim
index 22e6147..0b39220 100644
--- a/dot_config/nvim/init.vim
+++ b/dot_config/nvim/init.vim
@@ -15,6 +15,7 @@ set clipboard=unnamedplus " X clipboard to nvim
 " plugins
 call plug#begin()
 Plug 'morhetz/gruvbox' " best theme
+Plug 'mattn/emmet-vim' " html and css easing
 call plug#end()
 
 " styling
@@ -27,6 +28,13 @@ set conceallevel=3
 set background=dark
 colo gruvbox
 
+" emmet
+let g:user_emmet_mode='n' " only on normal mode, thx
+let g:user_emmet_install_global = 0
+autocmd FileType html,css EmmetInstall
+
+let g:user_emmet_leader_key=','
+
 "" bindings
 " leader mapping
 nnoremap <SPACE> <Nop>