1.可以匹配括号,也可以匹配注释
2.还有ctrl+i/o跳转也是神器
3.还有一个自动补全 ctrl+n/p
4.还有dw删除空格调整多行对齐
Sometimes we want to align just two columns. In that case, we don’t need any plugins and can use pure Vim functionality like this:
Choose a separator. In OP’s post this is a comma, in my example this is =.
Add spaces before/after it. I use s/=/= …spaces… / in visual selection for this.
Locate to the longest word and place cursor after it.
Remove all the extra whitespace using dw and vertical movement.
from stackoverflow
BTW,爱上vim了,coding速度确实提高很多
--
修改:BrendanEich FROM 140.206.65.*
FROM 140.206.65.*