Ⅰ. 插件描述
quick haskell hints at the status lineⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/htip'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/htip'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/htip'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/htip
Ⅳ. 文档说明
with default key binding enabled, move the cursor over a word, for example "map" and press <leader>ht
this will put the following line in the status line:
1/1: map :: (a->b) -> [a] -> [b]
(1/1 - first line of, well, a single line)
pressing <leader>hh will show the next line, if any.
<leader>hH show the previous one, the list is cyclic
there are also <leader>hi for info, <leader>hb for browse, <leader>hk for kind.
see code for more details