开发者

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

开发者 https://www.devze.com 2023-01-28 18:41 出处:网络
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.

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

精彩评论

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