Is there a way to click a link in Firefox and open a file in an existing VIM session?

Posted by btelles on Stack Overflow See other posts from Stack Overflow or by btelles
Published on 2010-06-05T17:56:52Z Indexed on 2010/06/05 18:02 UTC
Read the original article Hit count: 326

Filed under:
|
|
|
|

Hi there,

I know it's possible to open links in an html page (let's say, if you're using Firefox) with TextMate if the link has this format:

<a href="txmt://open?url=file:///home/.../index.html.haml">View</a>

But is it possible to do a similar thing with VIM? Perhaps like so:

<a href="vim://open?url=file:///home/.../index.html.haml">View</a>

Ideally this would use an existing VIM session.

Cheers,

Bernie

© Stack Overflow or respective owner

Related posts about firefox

Related posts about vim