slimv / description.txt

Slimv tries to mimic a subset of SLIME's (Emacs) functionality inside Vim. The script defines functions and keybindings to send Lisp s-expressions to a Lisp REPL. Slimv runs its own REPL or connects to a running REPL started by a previous Slimv session. The connection to the Lisp REPL is established when the first Slimv command is executed (e.g. an s-expression is evaluated).

Here follows a list of Slimv commands, for a more complete description with keybindings see the included documentation.

Connection commands:
    *  Connect to Server

Evaluation commands:
    *  Eval Defun
    *  Eval Last Expression
    *  Pprint Eval Last Expression
    *  Eval Region
    *  Eval Buffer
    *  Interactive Eval
    *  Undefine Function

Debug commands:
    *  Macroexpand-1
    *  Macroexpand
    *  Trace
    *  Untrace
    *  Disassemble
    *  Inspect

Compile commands:
    *  Compile Defun
    *  Compile and Load File
    *  Compile File
    *  Compile Region

Profile commands:
    *  Profile
    *  Unprofile

Documentation commands:
    *  Describe Symbol
    *  Apropos 

Place the cursor at any location inside an s-expression or on a name of a symbol then invoke a Slimv command in order to send the command operated on the given expression or symbol to the running Lisp.

For more information see the documentation coupled with the script.
Installation details
Extract the zip archive into your vimfiles or runtime directory. The archive contains plugin/slimv.vim, plugin/ and doc/slimv.txt.
Slimv should work on Windows and on Linux. The script requires Lisp (any Common Lisp should be OK) and Python (at least v2.4) installed on your system. Slimv tries to autodetect your Lisp and Python installation directories. If it fails to determine the correct directories, then you need to enter path definitions into your vimrc file:
    let g:slimv_python = 'C:/MyPythonDir/python.exe'
    let g:slimv_lisp = 'C:/MyLispDir/mylisp.exe'

See the included documentation for more complete installation and customization instructions.


Lisp with Vim: Slimv, a script that tries to mimic a subset of SLIME's functionality inside Vim.


0.1.3: Handle DOS and Unix style line endings on Windows, don't write logfile when debug level not set


Differences to Limp

As far as I know, the main differences at the moment are:
- Limp (0.3.4) works with SBCL on Linux (and Mac?), Slimv (0.1) should work for any Common Lisp implementation on Linux and Windows.
- Limp is a filetype plugin, it does automatic bracket closing, (some) name completion, current form highlighting, Hyperspec lookup in browser.