0
我似乎無法在vi中關閉autoindent。它似乎只限於評論字符#
如果我開始一個新的行與空格和一個#然後下面的行開始相同,即使我不真的想這樣做。
如果我只用空格或製表符開始新行,則不會再現此行爲。
我有以下設置如何關閉autoindent
noautoindent nocindent nosmartindent nocopyindent
不知道是否重要,但對於nocindent設置如下太
nocindent comments=:#