Ticket #11 (accepted enhancement)
Previewing lisp machine state in vim buffer for splits
| Reported by: | dan@… | Owned by: | mikael |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | lisp mode | Version: | 0.3.3 |
| Keywords: | Cc: |
Description
I'm decidedly NOT a vim or Lisp expert, but this is some cool integration you've got going on. It seems like it could be taken a step further.
What would be REALLY nice is a method for dumping the lisp machine's current output back into an (optional) vim buffer, so that the F12 toggle would only be necessary for actually typing directly into the lisp machine.
After a brief look at bridge.vim, I'm not sure exactly where this would happen; maybe in LimpBridge_send_to_lisp? I'm imagining it could work like this:
Any time the bridge sends something to the buffer via screen -x, it then does a
screen -x eval "hardcopy .some_temp_file_with_screenid"
and then (if necessary) reads that content back into a readonly buffer.
(Also, I don't know if you care, but your dates are wrong in bridge.vim -- 2008-08-26 looks like you can back from the future ;)