要从vifm打开pdf文件,我使用:filetype *.pdf zathura %f &。自动将我聚焦在zathura窗口上。但是当我使用:filetype *.c,*.h gvim --remote-tab-silent %f &打开任何文本文件时,我必须按alt-tab或win-2才能切换到gvim窗口。
我可以自动聚焦到gvim吗?
发布于 2014-09-22 17:48:43
为此,Vim提供了remote_foreground()函数。试着通过--remote-expr发送。
https://stackoverflow.com/questions/25971029
复制相似问题