[slim-vim] first try, some issues

Brad Beveridge brad.beveridge at gmail.com
Sun Jul 23 22:56:12 CDT 2006


> I would like to see a couple minor usability enhancements.
They all sound reasonable, more comments inline below.

>   - Allow sourcing ecl-slime.vim from anywhere.
>   - Make the ecl-slime mappings local to their buffer, and only for
>     Lisp buffers.  If you write a Vim function to do the mappings, I
>     can show you how to write Vim autocommands to automatically call
>     the function when editing any *.lisp file.
>   - Make slim-vim code do nothing if you haven't connected to Swank
>     yet.
>   - Implement a graceful disconnect & shutdown on Vim exit, or socket
>     disconnect.
Any ideas on how I could hook the :q :wq style commands?  I'm sure I
can do it with an explicit disconnect function.  Everything else ought
to be fine, though I imagine some environment var will be required.

>   - Implement a pseudo-repl buffer, like ecl-repl has, that prints
>     what you've done and what it returns.
Good idea, any objections to making all the regular console output
also go to this buffer?

>   - (Extra credit) Make the pseudo-repl editable at the last command
>     prompt, so you can type stuff into it directly, but make it
>     read-only above that.  (And then I'll steal your code and put it
>     in ecl-repl, 'cause that's what I've wanted to do all along.  :)
haha, sure!

>
> I may look at adding some of these myself, and test the Win32 Vim+ECL
> at the same time, and thus kill two birds with one stone.  (... Or I
> may not look at the computer for the rest of the day.  I haven't
> decided yet.  :)

Take some time off, it's too darn hot!  I've been away all weekend,
might be able to do some stuff tomorrow though.

Brad


More information about the slim-vim mailing list