September 27, 2008
Using Vim with Common Lisp
The Emacs-based Slime is an excellent IDE for Common Lisp up to the point of inducing people to switch from Vim to Emacs.
Personally I feel that there’s a need for either a full-featured vi written in Common Lisp (no, not GUI-only and written in Python, sorry) or a vi mode for Emacs that is consistent and also full-featured.
Until then you have several possiblities, most of which have been devised pretty recently:
- Nekthuth uses the Swank/Slime model with a library on the Lisp side and a Python scripted Vim plugin on the editor side. It offers a bunch of good things, but I haven’t tried it, yet.
- Limp seems to be the current star among Vim/Lisp bridges, with an active community. I’m going to try this soon.
- Like Slime for Vim is a solution that relies almost solely on GNU Screen. No Hyperspec lookup or function completion without additional work, though.
- Use some additional hints for a comfortable setup.
These approaches have varying implementation support. You’re always fine with SBCL, but Nekthuth, for example, doesn’t support other implementations.
I’m currently using the plain rlwrap approach but I might take advantage of some other approach soon.
Comments(2)