vi 中可以每 4 个字符添加间距吗?
vi 中是否可以每 4 个字符添加空格?如果是的话,有什么好的谷歌术语可以搜索来学习如何做类似的事情?
Is it possible to add spacing every 4 characters in vi? And if it is, what's a good google term to search for to learn how to do similar stuff?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要每 4 个字符添加一个空格,您可以使用以下命令(至少在 VIM 中):
如果您 Google“VIM Substitution”,您最终应该会得到一些有用的示例。
示例:
变成
To add a space every 4 characters you could use the following command (at least in VIM):
If you Google "VIM Substitution" you should end up with some useful examples.
Example:
becomes