如何在 vimrc 中启动时加载源
我无法让 snipMate 与 gvim 一起使用,然后发现存在一个现有的
为了让我免于每次打开 vim 时都要记住运行该命令的痛苦,我尝试将相同的命令添加到我的启动设置中 (~/ .vimrc)..但是这似乎不起作用。
有没有其他方法可以在启动 vim 时加载它?
I was not able to get snipMate to work with gvim and then found that there is an existing issue. the solution seems to be to run the following command after opening vimsource ~/.vim/after/plugin/snipMate.vim
To save me from the pain of remembering to run that every time I open vim, I tried adding that same command to my startup settings (~/.vimrc)..however that does not seem to work.
Is there another way to load this at the time when I start vim?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将其添加到您的 .vimrc 中:
Add this in your .vimrc:
设置适当的文件类型而没有定义类型snipmate不知道如何完成例如。
Set the appropriate file type without the defined type snipmate not know how to complete eg.