在 IDE 开发代码时,xml, html 等成对标签都可以自动补全
在 Vim 中想要达到这样的效果需要借助插件 closetag
预览
安装
Pathogen
1 | $ cd ~/.vim/bundle |
Vundle
修改 ~/.vimrc
1
Plugin 'docunext/closetag.vim'
在 Vim 中运行1
:PluginInstall
配置
1 | let g:closetag_html_style=1 " 支持 html 风格" |
使用
被动技能
最近热读
扫码关注公众号,或搜索公众号“温欣爸比”
及时获取我的最新文章
