Vim: 让 gq 招待 '.'作为句子的结尾
相关vim-how-to-reformat-a-set-of-lines-into-a-single-lines-if-the-line-is-a-single
我想要 gq处理“.”作为 Latex 中句子的结尾。与较高的 tw 值相结合,其目的是自动将段落重新格式化为行列表。
(仅供参考,如果您想知道的话,这是一种更好的编辑乳胶的方法)
Related to vim-how-to-reformat-a-set-of-lines-into-a-single-lines-if-the-line-is-a-single
I'd like gq to treat a '.' as the end of a sentence in latex. Combined with a high value of tw
, the intention is automatically reformat a paragraph into a list of lines.
(FYI, this is a much nicer way to edit latex, if you are wondering)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我编辑 Latex 时,我使用
Don't think that it need reformatting 技巧。
Paul Biggar 评论道,类似的解决方案适用于不习惯在每个句子末尾添加两个空格的人:
When I edit Latex, I use
Don't think that it needs reformatting tricks.
Paul Biggar comments out that the similar solution works for people not used to putting two spaces at the end of each sentence: