agelessdummy / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

urls don't open in the browser #381

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1.  Make an external link to some url in the wiki (I'm using markdown syntax):
 [my site](http://jasonanderson.us)
2.  Hit enter on the link
3.  Nothing happens

What is the expected output? What do you see instead?

I expect the browser to be put in focus and the web site opened.  Instead 
nothing happens.

What version of the product are you using? On what operating system?
vimwiki 2.0.1
Ubuntu 12.10 
This only occurs on gvim.  In vim from the terminal the website opens in the 
browser as it should.

Please provide any additional information below.

I've attached a patch to fix the issue.  It just runs the xdg-open command in 
the background by appending an &.

I tested this on my ubuntu system in both gvim and vim and it results in urls, 
text files, doc files, and pdfs being run in both of them.

Original issue reported on code.google.com by jason6an...@gmail.com on 22 Oct 2012 at 5:03

Attachments:

GoogleCodeExporter commented 8 years ago
Thx a lot!

This happens only in gnome3 environment and I didn't know how to fix it.

Original comment by habamax on 24 Oct 2012 at 4:25