Install MIT/Scheme with Vim


After wondering around for a while, I finally found this was quite foolproof…

It could be divided into five steps:

  • $ brew install mit-scheme. (Its version is usually a little bit older than the latest MIT/GNU Scheme)
  • Install GNU screen if it was not installed before.
  • Install Screen Vim plug-in according the steps in that webpage.
  • Add the following into ~/.vimrc
"For screen.vim send block
"to SendScreen function
"(eg Scheme interpreter)
vmap <C-c><C-c> :ScreenSend<CR>
nmap <C-c><C-c> vip<C-c><C-c>
  • launch Vim and write :ScreenShell mit-scheme.

It is all set for the fun:)

References: [1], [2]

cheers,