Tweaked vimIsCommand.