open-browser.vim icon indicating copy to clipboard operation
open-browser.vim copied to clipboard

URL detection

Open pinggit opened this issue 8 years ago • 0 comments

regarding URL detection, I tested with this it doesn't work: image::https://user-images.githubusercontent.com/2038044/31581431-fdbc2ea2-b139-11e7-8f59-88843ab12cb7.png[]

I have to manually break it like this and it works: image:: https://user-images.githubusercontent.com/2038044/31581431-fdbc2ea2-b139-11e7-8f59-88843ab12cb7.png[]

according to the document it should work:

URL DETECTION openbrowser-url-detection {{{

  1. If the character under cursor is a WORD and is a URL, return it. 1.1. if expand('<cWORD>') is an URL, return it.
  2. If the character under cursor is not a WORD, 2.1. Go to left WORD, and if expand('<cWORD>') is an URL, return it. 2.2. Go to right WORD, and if expand('<cWORD>') is an URL, return it.

can this be fixed?

pinggit avatar Oct 16 '17 10:10 pinggit