이 기능은 정상적으로 작동하지 않습니다.vim의 manpageview로 PHP man 페이지를 탐색하십시오.
예 :
나는 SUBSTR 작성하고 내가 SUBSTR 명령에 대한 개방 사람이 페이지를 원하지만 나는 K를 (커서가 SUBSTR 명령에 있음)가
***warning*** sorry, no manpage exists for <substr>
을 표시하지만
을 쓸 때 쳤을 때:Man substr.php
substr 설명이 올바르게 표시됩니다. lynx(1)
와
function OpenPHPManual(keyword)
let firefox = '/Applications/Firefox.app/Contents/MacOS/firefox-bin'
" you will need to create this profile in firefox
let profile = 'Profile for PHP Manual'
let url = 'http://www.php.net/' . a:keyword
exec '!' . firefox . ' -p "' . profile . '" "' . url . '"'
endfunction
noremap gd :call OpenPHPManual(expand('<cword>'))<CR>
또는 : 브라우저를 사용하여 커서 아래 키워드에 대한 PHP.net 문서를 여는 방법을
"K"명령을 로컬 매뉴얼 페이지로 작업하는 것에 관심이 있습니다. – Drasill