开发者

How can I convince OS X to open txmt:// URLs in MacVim?

I guess there's not much else to the question.开发者_运维技巧 OS X 10.5.


If possible, use the mvim://-protocol instead. It should be compatible with the txmt://-protocol.

If you are not able to change the links themselves, you could try editing the Info.plist for MacVim.


I do not know whether plugin for this «protocol» already exists, but if you want to write your own, you should take a look at BufReadCmd event (and also BufWriteCmd). If you don't want to start from scratch, some such events are defined in $VIMRUNTIME/plugin/netrwPlugin.vim (for example, for ftp:// protocol) file which should come with your vim installation.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜