Ⅰ. 插件描述
Lets you browse offline html docs in a bufferⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/lynx-offline-documentation-browser'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/lynx-offline-documentation-browser'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/lynx-offline-documentation-browser'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Lynx-Offline-Documentation-Browser
Ⅳ. 文档说明
Inspired by the Info browser script, I present this script for bowsing html documentaion offline in a vim buffer via lynx.
:Lynx index.html will create your buffer, then browsing is a matter of using the usual "tag" keys Ctrl-] and Ctrl-T. A link is indicated by lynx as a number in square brackets. Place the cursor over this (on the '[') and use Ctrl-] to follow the link.
It probably could be tidied up and also follow http: links as well as file: links but this is all I need to browse the wxPython docs offline which was what I wrote it for. Improvements welcome.
This has been tested on a Slackware 9.1 box with Vim 6.2. YMMV.