Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 vim tabularize 插件来对齐以下类型的代码:
buy <- blabla buy[,cash := blablabla] pr.tmp <- matrix(blaaaaaaaaa)
如下:
我的问题是 tabularize 是否可以匹配同一列中的“<-”和“:=”?
使用分支:
:Tabularize /<-\|:=/
看:help \|
:help \|