You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Plug>(openbrowser-open) and <Plug>(openbrowser-smart-search) should open selected URL as-is in visual-mode.
Allow any string (including any character ', '(', ')', or Unicode character) and just pass the string to a browser.
Currently, the mappings search URLs from given string, and open it.
Here are the expected behaviors for each keymapping, ex-command.
Keymappings(Normal mode)
Keymappings(Visual mode)*1
<Plug>(openbrowser-smart-search)
Loose PatternSet*2
Allow any string
Allow any string*4
Ex-commands*3
:OpenBrowserSmartSearch
Allow any string
Allow any string*4
*1: Excluding <Plug>(openbrowser-smart-search)
*2: Allowed characters in RFC3986 excluding ', (, )#72
*3: Excluding :OpenBrowserSmartSearch
*4: If selected text starts with {scheme}://, open it as URL. Otherwise, open it as filepath.
The text was updated successfully, but these errors were encountered:
tyru
changed the title
<Plug>(openbrowser-open) should open selected URL as-is in visual-mode
<Plug>(openbrowser-open) should open selected URL as-is in visual mode
Jan 1, 2016
Problem
Currently,
<Plug>(openbrowser-open)
and<Plug>(openbrowser-smart-search)
can't open the below URL (:OpenBrowser
can open it though).This bug was introduced by #72 and #73 fix.
https://ja.wikipedia.org/wiki/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0_(%E3%82%B3%E3%83%B3%E3%83%94%E3%83%A5%E3%83%BC%E3%82%BF)
Solution
<Plug>(openbrowser-open)
and<Plug>(openbrowser-smart-search)
should open selected URL as-is in visual-mode.Allow any string (including any character
'
, '(', ')', or Unicode character) and just pass the string to a browser.Currently, the mappings search URLs from given string, and open it.
Here are the expected behaviors for each keymapping, ex-command.
<Plug>(openbrowser-smart-search)
:OpenBrowserSmartSearch
*1: Excluding
<Plug>(openbrowser-smart-search)
*2: Allowed characters in RFC3986 excluding
'
,(
,)
#72*3: Excluding
:OpenBrowserSmartSearch
*4: If selected text starts with
{scheme}://
, open it as URL. Otherwise, open it as filepath.The text was updated successfully, but these errors were encountered: