Using this patch with vim, will open a new terminal when
$EDITORis called right? I think it is best to keep
sxmo_terminal.sh $EDITORwhen the script wants to spawn a window. This allows the use
$EDITORin scripts running in a terminal without extra windows opening.
I think using the environment variable
VISUAL_EDITORis a better idea.