Chimp : Chimp talks to external interpreters from inside Vim
| script karma
Downloaded by 1327
Comments, bugs, improvements
script versions (upload new version)
|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
Chimp should also work on Windows with Cygwin.
You will also need the VimClojure filetype plugin for
the Clojure frontend.
- VILisp (vimscript #221)
- Limp (vimscript #2219)
|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.
Click on the package to download.
ip used for rating: 22.214.171.124
||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
||- Mostly clean-up release.
- Now recognises new clojure/ns function.
- Requires VimClojure >= 1.2.1 for the Clojure frontend.