Created
June 5, 2011 20:51
-
-
Save ijt/1009411 to your computer and use it in GitHub Desktop.
Hoogle plugin for Haskell in Vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" $ cabal install hoogle | |
" | |
" Then put this file in ~/.vim/ftplugin/haskell/ijt_hoogle.vim | |
" | |
" Put your cursor over a function name and press \h to find out | |
" its signature and where it is defined. | |
" | |
command! Hoogle :exec("!hoogle '" . expand("<cWORD>") . "'") | |
map \h :Hoogle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment