Package Details: vim-manpageview 25w-1

Git Clone URL: https://aur.archlinux.org/vim-manpageview.git (read-only, click to copy)
Package Base: vim-manpageview
Description: Viewer for manpages, gnu info, perldoc, and php (unix/linux/cygwin)
Upstream URL: http://www.drchip.org/astronaut/vim/index.html#MANPAGEVIEW
Licenses: custom:vim
Groups: vim-plugins
Submitter: lpapp
Maintainer: None
Last Packager: dracorp
Votes: 12
Popularity: 0.000000
First Submitted: 2009-07-15 22:23 (UTC)
Last Updated: 2023-02-17 20:47 (UTC)

Latest Comments

« First ‹ Previous 1 2

dracorp commented on 2011-11-17 23:22 (UTC)

I added to autoload/manpageview.vim: let v:errmsg="no manpage exists". Now I can do something like that: function! DisplayManpage() let filename = expand("%") let short_filename = expand("%:r") let filetype = &filetype call manpageview#ManPageView(0,0,filename) if v:errmsg == "no manpage exists" call manpageview#ManPageView(0,0,short_filename) if v:errmsg == "no manpage exists" call manpageview#ManPageView(0,0,filetype) endif endif endf nmap <silent> <F1> <Esc>:call DisplayManpage()<CR> At the beginning looking for man page for file being edited. If not found then looking for filename without extension. If not found looking for fileype.

Sara commented on 2011-10-30 20:44 (UTC)

You need to update the source URL to point to its new location at http://drchip.0sites.net/astronaut/vim/index.html#MANPAGEVIEW (otherwise, it won't build).