Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,所以我尝试在 .cshrc 文件中输入以下内容:alias ls 'ls --color=auto'。我一次输入一个字符。
但是,当我到达--color=时,我键入a并且光标转到下一行。
我检查了 .vimrc 文件,没有发现任何异常。我正在使用 vim7.2
编辑
我注意到它只发生在 .cshrc 文件中,并且光标以'字符开始闪烁。
我在 .vimrc 文件中设置了“set mouse=a”
问题是什么?
你有textwidth定吗?如果是这样,一旦它们达到一定长度,它就会打破你的线条。通过检查值
textwidth
:set textwidth?
将其设置为 0 以关闭硬换行。否则,您是否a在插入模式下映射到了一些奇怪的东西?查看
a
:imap a
看看你是否这样做。
我现在无法对其进行测试,但该文件类型的相应缩进文件可能有问题。如果您编辑其他一些配置文件,会发生这种情况吗?