开发者

Only one vim session

My problem is that I want to use only one vim session and add files to that session form another terminal. I know about gvim --remote-silent but i onl开发者_运维知识库y use vim. And --remote-silent doesnt work for me.

Is there any solution to this problem? tnx in advance.


on behalf of notphunny:

I found the solution when I read the help...

Thing is I wasnt using --servername option. So right way is:

vim --servername Name -remote .bashrc

to add some files to that session

vim --servername Name -remote-silent .bash_history
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜