I have a text file of the form:
line one 1 Sun
line two 22 Mon
line three 33 Tue
line four 444 Wed
如何在特定位置(例如第三个单词)垂直对齐列?所需输出为:
line one 1 Sun
line two 22 Mon
line three 33 Tue
line four 444 Wed
更新:意图是使用本地 Vim 解决方案。我知道有一些基于插件的解决方案。请查看下面的评论,以获取适合我的选择解决方案。
:normal 2W9i
在第三列插��前导空格,然后从那里���左对齐(使用可视块模式和<
命令)。我强烈建议学习这种技术,它是Vim中最灵活的对齐方法。 - undefined