sponsor Vim development Vim logo Vim Book Ad

Chimp : Chimp talks to external interpreters from inside Vim

 script karma  Rating 10/4, Downloaded by 1852  Comments, bugs, improvements  Vim wiki

created by
Meikel Brandmeyer
 
script type
utility
 
description
Chimp uses screen to talk to external interpreters. The basic screen driver
is language agnostic and is intended to be used as backend for filetype
plugins, which comprise the intelligence of the system.

An example filetype plugin for Clojure is included. There are several ways
to extract code and send it to a running Clojure in a screen.

The coupling is very loose on purpose! Eg. one can send from several Vims
to the same screen. However this leads to a certain fragileness. The Clojure
plugin takes care of automatically switching namespaces for the different
files being edited. However, nothing prevents the user from interacting
with the REPL directly messing up the namespace sync between Chimp in Vim
and Clojure.

Chimp should also work on Windows with Cygwin.

You will also need the VimClojure filetype plugin for
the Clojure frontend.

http://kotka.de/projects/clojure/vimclojure.html

Similar scripts:
- VILisp (vimscript #221)
- Limp (vimscript #2219)
- http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/

 
install details
For installation put the extracted subdirectory in your .vim directory.
Start your interpreter with the chimp.sh wrapper from the bin/ subdir.
It tells you a "Chimp Id" in the bottom line of the screen. Supply this
to the glue functions. The Clojure plugin will ask you the first time
you send data and will further cache the Id.

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
chimp-1.2.0.tar.gz 1.2.0 2008-10-18 7.0 Meikel Brandmeyer Added more functions for the Clojure frontend:
- dw to look up documentation for word under the cursor
- ld to look up arbitrary documentation
- fd to find documentation via find-doc

Fixed a bug with an obsolete argument to EvalFile
chimp-1.1.0.tar.gz 1.1.0 2008-09-02 7.0 Meikel Brandmeyer - Mostly clean-up release.
- Now recognises new clojure/ns function.
- Requires VimClojure >= 1.2.1 for the Clojure frontend.
chimp-1.0.0.tar.gz 1.0.0 2008-08-18 7.0 Meikel Brandmeyer Initial upload
ip used for rating: 18.224.67.149

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github