Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dpzmick/neovim-hackernews'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dpzmick/neovim-hackernews'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dpzmick/neovim-hackernews'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dpzmick/neovim-hackernews
Ⅳ. 文档说明
Hacker News in neovim
install:
copy hacker.py into ~/.nvim/rplugin/python/hacker.py
open neovim
run :HackerNews to open the top 30 hacker news stories in a new vim buffer. The
buffer will take a second to open, but the stories are populated in the
background and the buffer will open when it is ready.
In that new buffer, run :HackerOpen to open the selected story
The plugin is not particularly useful, but its a cool demo of neovim's features.
Demo
