我正在尝试将VIM作为我的Ruby/Rails编辑器。迄今为止,我对其功能印象深刻,并且我已经安装了以下插件,以使我的IDE体验更好:
例如:items.css.scss
什么是在VIM中对齐/格式化代码的最佳插件/方法?
- auto-pairs
- better-snipmate-snippets
- nerdcommenter
- nerdtree
- tabular
- vim-endwise
- vim-nerdtree-tabs
- vim-rails
- vim-surround
例如:items.css.scss
.throw {
float:left; width: 100%;
margin-bottom: 2px;
border: solid gray 1px;
border-radius: 10px;
.cell {
float: left;
padding-left: 6px;
padding-right: 6px;
}
}
I want it to be
.throw {
float:left; width: 100%;
margin-bottom: 2px;
border: solid gray 1px;
border-radius: 10px;
.cell {
float: left;
padding-left: 6px;
padding-right: 6px;
}
}
什么是在VIM中对齐/格式化代码的最佳插件/方法?