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.
我不得不为我所有的各种编辑器(emacs、vim、nano 等)编辑配置文件,以使制表符间距等于 4 个空格,而不是看似默认的 8 个。有没有更优雅的方法?我可以将它们全部指向一些主文件,以便为所有这些文件使用相同的制表符/空格设置?
尝试使用http://editorconfig.org(你需要在每个项目中放置.editorconfig)