rlwrap do gives reliefs for old time editor user. But it looks not easy to set groovysh use vim/vi as its editor, when working with the interactive console.
举例来说,在乌兰巴托盒上使用“农业”时:
groovy:000> set editor=vim
groovy:000> edit
然后冻结了gro子,Ctrl-C则需要放弃。