vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit bf2039555ae813f5bbb83a3260b262fcad44a509
parent 2941913ccc2ca1e5bd2f482c770407a712810c1b
Author: Jonathan McElroy <jonathanpmcelroy@gmail.com>
Date:   Mon, 12 Dec 2016 16:49:05 -0600

Allow Powershell to open links in Windows
Diffstat:
Mautoload/vimwiki/base.vim | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim @@ -228,7 +228,11 @@ function! vimwiki#base#system_open_link(url) "{{{ else let url = shellescape(a:url, 1) endif - execute 'silent ! start "Title" /B ' . url + if &l:shell ==? "powershell" + execute 'silent ! start ' . a:url + else + execute 'silent ! start "Title" /B ' . a:url + endif endfunction function! s:macunix_handler(url) call system('open ' . shellescape(a:url).' &')