This plugin allow you create haskell code in vim very easily.
- VIM >= 7.0 with python support
- ghc -- for code run and checking
- hacktags_ -- for auto creation tags
- hoogle -- for hoogle search
- Just copy the plugin folders into your ~/.vim directory.
Note
Alternatively, if you are using pathogen, clone the plugin into your bundle
folder.
To change this settings, edit your ~/.vimrc file. Default values:
" Python interpreter let g:ghc = 'ghc' " Hoogle command let g:hoogle = 'pydoc' " Hasktags command let g:hasktags = 'pydoc' " Open cwindow if compilation ends with errors let g:MakeCWindow = 1 " Place error signs let g:MakeErrorSigns = 1
<Leader>r -- Run code K -- Show ghc :info <Leader>t -- Show ghc :type <Leader>it -- Insert ghc type <Leader>sh -- Search in hoogle <Leader>i -- Load file in ghci
If you have any suggestions, bug reports or annoyances please report them to the issue tracker at https://github.com/klen/hvim/issues
Development of hvim happens at github: https://github.com/klen/hvim
- klen (Kirill Klenov)
Licensed under a GNU lesser general public license.