diff --git a/cli/vim/init.vim b/cli/vim/init.vim index 34728c7..44d5e88 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -146,7 +146,7 @@ Plug 'scrooloose/nerdcommenter' Plug 'mhinz/vim-grepper', { 'on': ['Grepper', '(GrepperOperator)'] } Plug 'morhetz/gruvbox' Plug 'klesh/vim-fish', { 'for': 'fish' } -Plug 'alvan/vim-closetag', { 'for': ['vue', 'html', 'xml'] } +Plug 'alvan/vim-closetag' "Plug 'francoiscabrol/ranger.vim' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' @@ -175,7 +175,7 @@ let g:vim_markdown_folding_disabled = 1 " ==== vim-closetag configuration ==== -let g:closetag_filetypes = 'html,xhtml,phtml,vue' +let g:closetag_filetypes = 'html,xhtml,phtml,vue,jsx' if $VIM_MODE == 'enhanced' @@ -215,6 +215,9 @@ endif nmap ap :call AutoPairsToggle() let g:AutoPairsShortcutToggle = '' +" ==== closetag configuration ==== +nmap ct :CloseTagToggleBuffer + " ==== grepper configuration ==== "