- With Pathogen
git clone https://github.com/hey-network/hey.vim.git ~/.vim/bundle
- With Vundle
In your .vimrc, add hey-network/hey.vim to your Vundle Plugins.
Then launch vim and run :PluginInstall (or by command line vim +PluginInstall +qall)
- With apt-vim
apt-vim install -y https://github.com/hey-network/hey.vim.git
-
Select some code in visual mode.
-
Type
:call AskHey(':YOUR_QUESTION'). -
You'll receive a token as the result of a curl request.