[slim-vim] HOWTO in progress

Brad Beveridge brad.beveridge at gmail.com
Fri Jul 21 09:40:51 CDT 2006


On 21/07/06, James Fleming <lisp at electronic-quill.net> wrote:
> Now that I've gotten it running, I figured it would be worthwhile to
> document the steps as a more complete version of Brad's instructions.
>
> It's still a little terse for a beginner, but then I don't expect
> newbies to be trying this just yet.
>
> ---
> Pull from darcs:
> vim70+async+ecl
> ecl-repl
> ecl-slime
> These can be found via http://wiki.alu.org/Slim-Vim-Repos
>
> You'll need slime from cvs; instructions are at
> http://common-lisp.net/project/slime/. The latest tarball may work, but
> cvs definitely works for me.
> Install it in whichever way is most convenient to load swank via asdf.
>
> You'll also need ecl, from http://ecls.sourceforge.net/
>
> Now compile ecl and then vim, ensuring you pass --enable-eclinterp to
> =2E/configure when configuring vim's build.
>
> Install ecl-slime, and edit ecl-slime.vim; the line that starts with
> 'exec "ecl (load \"' so that it has the correct path to ecl-slime.lisp.
> This is currently line 136, but that will most likely change in future
> versions.
>
> Start up sbcl and load swank, then execute
> (swank-create-server :dont-close t)
>
> Currently, vim must be started up in the directory containing ecl-slime,
> or it'll fail to load the files it references.
>
> Having started up vim:
> :so /path/to/ecl-repl.vim
> :so /path/to/ecl-slime.vim
>
> To connect to the swank-server:
> <leader>-sc
>
> To evaluate a form at the repl:
> <leader>-x
>
> Once you've done that, you're in the lisp-repl-output buffer, which is
> non-modifiable. From here, use :sp to split the window, and either open
> the lisp source file that you want to edit, or use :2b to open the
> lisp-scratch buffer.
>
> Knowledge of vim's buffers is very useful here.
> ---
>
>
> On the subject of ecl-slime, I'm going to try asdf-packaging it to see
> if that removes the need to start vim in its directory.
>
>
> Cheers,
> James

Awesome stuff James, well done!  Would you mind adding this to
http://wiki.alu.org/Slim-Vim, or creating a new page linked from
there?

Cheers
Brad


More information about the slim-vim mailing list