Using Vim for Lisp development

前端 未结 11 2091
悲&欢浪女
悲&欢浪女 2020-12-22 17:23

I\'ve been using Lisp on and off for a while but I\'m starting to get more serious about doing some \"real\" work in Lisp. I\'m a huge Vim fan and was wondering how I can be

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-22 17:54

    SLIME for EMACS is a wonderful tool for LISP programming. The best part is sending code written in your editor straight to a live LISP session. You can get similar behavior out of Vim using the tips here:

    http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/

    I adjusted my own script so that I can send to either a SBCL or Clojure session. It makes you much more productive and takes advantage of the REPL.

    ":set lisp" starts the lisp indentation mode for Vim. But it won't work with some dialects like Clojure. For Clojure, use VimClojure.

    Some people like LIMP also.

提交回复
热议问题