I have the following variable defined in ~/.vimrc. This works well with XTerm but I can't get it working with GNOME Terminal. Please help.
let g:slimv_client = 'python /home/dumrat/.vim/ftplugin/slimv.py -r "xterm -e sbcl --core /home/dumrat/.sbcl/sbcl.core -s"'
The option
-emakes XTerm run the command specified by all of the remaining command line arguments following-e. Consequently,xterm -e sbcl --core /home/dumrat/.sbcl/sbcl.core -sopens an XTerm instance runningsbcl --core /home/dumrat/.sbcl/sbcl.core -scommand.GNOME Terminal has the option
-xwith the same meaning that-ehas for XTerm.1 Thus, change the configuration file, as follows.1 Note that
-ehas somewhat different behavior in GNOME Terminal—the whole command is expected to be in the next argument, while-xassumes that everything to the end is the command to run.