在Vim中,如果我在代码文件中键入注释,然后单击Enter,它也会自动使换行符成为注释。
例如,在Ruby文件中:
# I manually typed the pound at the start of this line and hit enter.
# This line formatted itself this way automatically.
通常,这是我想要的,但并非总是如此。如何暂时关闭此自动注释行为?
暂时来说,您是要执行一次命令还是要设置一些选项,该选项将持续几个命令直到您将其重新打开?可能的跨站点重复:stackoverflow.com/questions/4896003/...
—
西罗桑蒂利新疆改造中心法轮功六四事件