follow url silently in mac

This commit is contained in:
Hongbo Liu 2015-11-26 11:54:32 +08:00
parent 2f95a6a651
commit 399e9a4512

View File

@ -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).' &')