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

I think there is not much to this question. OS X 10.5.

+4
source share
2 answers

If possible, use mvim:// -protocol . It must be compatible with txmt:// -protocol.

If you cannot change the links themselves, you can try editing Info.plist for MacVim.

+1
source

I don’t know if there is a plugin for this β€œprotocol”, but if you want to write your own, you should take a look at the BufReadCmd event (as well as BufWriteCmd). If you do not want to start from scratch, some of these events are defined in the $VIMRUNTIME/plugin/netrwPlugin.vim (for example, for the ftp:// protocol), which should come with your vim installation.

+1
source

All Articles