Merge pull request #168 from hiberabyss/macurl
follow url silently in mac
This commit is contained in:
commit
8231433bad
@ -380,7 +380,7 @@ function! vimwiki#base#system_open_link(url) "{{{
|
||||
execute 'silent ! start "Title" /B ' . url
|
||||
endfunction
|
||||
function! s:macunix_handler(url)
|
||||
execute '!open ' . shellescape(a:url, 1)
|
||||
call system('open ' . shellescape(a:url).' &')
|
||||
endfunction
|
||||
function! s:linux_handler(url)
|
||||
call system('xdg-open ' . shellescape(a:url).' &')
|
||||
|
Loading…
Reference in New Issue
Block a user