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.
我应该如何设置我的 .vimrc 以便 macvim 将我的选项卡设置为 c 程序的 4 个空格?
这应该这样做
set cindent set sw=4
编辑:我没有在你的问题中阅读 macvim,所以现在你可以在上面尝试。这适用于 Windows 的 gvim 和 linux 的 vim