Skip to content

Instantly share code, notes, and snippets.

@ijt
Created June 5, 2011 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijt/1009411 to your computer and use it in GitHub Desktop.
Save ijt/1009411 to your computer and use it in GitHub Desktop.
Hoogle plugin for Haskell in Vim
" $ 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