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.
我在 Vim 中使用 snipMate,并尝试在任何类型的文件中使用某些片段。但我只能找到将片段与特定文件类型相关联的方法。有没有办法设置“全局”片段?
在您的代码片段目录中定义一个 _.snippets 文件并将您的全局代码片段放在那里