Put the four relevant lines in your ~/.vimrc
file. The plugin has to be installed separately from here.
let g:repl_cmd = '/home/pi/APL/svn/trunk/src/apl --noSV --rawCIN --noColor'
let g:repl_stop = ')OFF'
let g:repl_send = "'REPL-VIM'"
let g:repl_detect = 'REPL-VIM'
Be very careful when copying the code below, since the space in the repl_detect
string is very important.
let g:repl_cmd='stdbuf -i0 -o0 -e0 /usr/bin/maxima --disable-readline --very-quiet --init-mac=<(echo "print(\"(scratch buffer)\");print(\"\");print(\"Vim integration for Maxima\");print(\"==========================\");";)'
let g:repl_stop="quit();"
let g:repl_send='print(\\\"VIMMAXIMAREPL\\\")\$'
let g:repl_detect='\"VIMMAXIMAREPL\" '