很多时候,我在VIM中编写markdown,并且这些markdown中会有段落。为了帮助编辑,我将Vim设置为在80个字符上换行。如果我继续输入,效果很好,但是问题是,如果我需要进行一些校正,它将变得非常烦人。
演示(摘自Wikipedia一阶逻辑):
The adjective "first-order" distinguishes first-order logic from higher-order logic
in which there are predicates having predicates or functions as arguments. In first-order
theories, predicates are often associated with sets. In interpreted higher-order
theories, predicates may be interpreted as sets of sets.
到目前为止,一切都很好。但是,当我修改本文时,我可能会决定在中间添加一些内容,例如:
The adjective "first-order" distinguishes first-order logic from higher-order logic
in which there are predicates having predicates or functions as arguments,
or in which one or both of predicate quantifiers or function quantifiers are permitted.
In first-order theories, predicates are often associated with sets. In interpreted higher-order
theories, predicates may be interpreted as sets of sets.
注意第3行是我要包装的那行。如果我在VIM中这样做,则需要手动加入这些行并重新包装整个段落。
有人知道如何使VIM自动执行吗?