Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/vim/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex Vim表格化多行_Regex_Vim_Vim Tabular - Fatal编程技术网

Regex Vim表格化多行

Regex Vim表格化多行,regex,vim,vim-tabular,Regex,Vim,Vim Tabular,如何使用Vim制表来对齐以下文本 text1 text2温度线0, text1 text2温度线1, text1 text2[1:0]温度线2, text1 text2[15:0]温度线5, text1 text2温度线6, text1 text2[1:0]温度线7, text1 text2温度线8, text1 text2[23:0]温度线9 像这样的事情 text1 text2温度线0, text1 text2温度线1, text1 text2[1:0]温度线2, text1 text2[1

如何使用Vim制表来对齐以下文本

text1 text2温度线0,
text1 text2温度线1,
text1 text2[1:0]温度线2,
text1 text2[15:0]温度线5,
text1 text2温度线6,
text1 text2[1:0]温度线7,
text1 text2温度线8,
text1 text2[23:0]温度线9

像这样的事情

text1 text2温度线0,
text1 text2温度线1,
text1 text2[1:0]温度线2,
text1 text2[15:0]温度线5,
text1 text2温度线6,
text1 text2[1:0]温度线7,
text1 text2温度线8,
text1 text2[23:0]温度线9


基本上,我想对齐行中“]”之后的所有内容

您可以使用github上提供的插件表格:


尽管如此,您的文本在每一行中都没有真正的分隔符,因此它将失败。

您可以使用github上提供的插件表格:


尽管如此,您的文本在每一行中都没有真正的分隔符,因此它将失败。

您的所有行都没有公共分隔符。您的所有行都没有公共分隔符。