考虑以下长行。
* Explain that core policies were created to give applications the ability to control the mapping of (user) threads to cores, and why they might want to do this.
这是gq
的当前输出。
* Explain that core policies were created to give applications the ability to
* control the mapping of (user) threads to cores, and why they might want to
* do this.
这是gq
* Explain that core policies were created to give applications the ability to
control the mapping of (user) threads to cores, and why they might want to
do this.
这是我的formatoptions
的当前值:
formatoptions=tqn
我已经浏览了:help formatoptions
,并试图通过从选项和c
中删除q
来获得所需的行为,但是似乎都没有影响{{1}的输出}。
是否可以通过某种格式选项设置来获得所需的输出?
更新:一个建议的答案是删除gq
,但这会导致以下输出(也是不希望的)。
q
答案 0 :(得分:1)
我认为您需要:
set formatoptions+=n
set comments=fb:*,fb:-
set autoindent
这允许使用*
或-
进行列表。