如何使用默认的pdf应用程序从Vim打开pdf文件?
发布时间:2020-12-15 22:35:36 所属栏目:安全 来源:网络整理
导读:我想在默认的pdf查看器应用程序中使用来自Vim的文件链接打开pdf文件,这是我的osx上的预览. 在Vim内部有一个gf正常命令到open文件链接.但是应该在外部应用程序中打开pdf文件. 解决方法 正如@Ken在评论中所说,你应该使用gx: Certain files,such as html,gif,j
我想在默认的pdf查看器应用程序中使用来自Vim的文件链接打开pdf文件,这是我的osx上的预览.
在Vim内部有一个gf正常命令到open文件链接.但是应该在外部应用程序中打开pdf文件. 解决方法
正如@Ken在评论中所说,你应该使用gx:
Certain files,such as html,gif,jpeg,(word/office) doc,etc,files,are best seen with a special handler (ie. a tool provided with your computer). Netrw allows one to invoke such special handlers by: * when Exploring,hit the "x" key * when editing,hit gx with the cursor atop the special filename 更多信息可以在 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |