follow url silently in mac
This commit is contained in:
parent
2f95a6a651
commit
399e9a4512
@ -380,7 +380,7 @@ function! vimwiki#base#system_open_link(url) "{{{
|
|||||||
execute 'silent ! start "Title" /B ' . url
|
execute 'silent ! start "Title" /B ' . url
|
||||||
endfunction
|
endfunction
|
||||||
function! s:macunix_handler(url)
|
function! s:macunix_handler(url)
|
||||||
execute '!open ' . shellescape(a:url, 1)
|
call system('open ' . shellescape(a:url).' &')
|
||||||
endfunction
|
endfunction
|
||||||
function! s:linux_handler(url)
|
function! s:linux_handler(url)
|
||||||
call system('xdg-open ' . shellescape(a:url).' &')
|
call system('xdg-open ' . shellescape(a:url).' &')
|
||||||
|
Loading…
Reference in New Issue
Block a user