Vim integration with GHCi

点点圈 提交于 2019-12-06 06:51:28

问题


I'm trying to use Vim as a Haskell IDE, and, though I'm not a hardcore Vim user, I enjoy the mode-based way of editing.

The only thing I'm missing after my Emacs period is integration with GHCi. In the latter editor you can just type C-c C-l (the same shortcut for all kinds of REPL environments) to reload the current source file and switch to the split window with the interpreter in it. That possibility is indispensable for rapid prototyping, TDD and so on. I'm sure that I've done considerable work in attempts to get the same feature in Vim, but with no significant result.

If anyone has already dealt with such a task, please provide a link or a hint to the solution.


回答1:


There is a script that does exactly what I want, it's called SHIM. Good luck, guys!



来源:https://stackoverflow.com/questions/12546959/vim-integration-with-ghci

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!