开发者

how to load a source at start in vimrc

开发者 https://www.devze.com 2023-02-17 13:20 出处:网络
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 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 vim source ~/.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 开发者_JAVA技巧way to load this at the time when I start vim?


Add this in your .vimrc:

:so ~/.vim/after/plugin/snipMate.vim


Set the appropriate file type without the defined type snipmate not know how to complete eg.

:set ft=python
0

精彩评论

暂无评论...
验证码 换一张
取 消