VimConnection conn = plugin.getVimserver(serverID).getVc();
// get the current offset which "setDot" requires.
//String offset = "0";
try{
String cursor = conn.function(bufferID, "getCursor", "");
if (cursor == null){
// the only case that i know of where this happens is if the file is
// open somewhere else and gvim is prompting the user as to how to
// proceed. Exit now or the gvim prompt will be sent to the background.
return;