Check how you have the "editor" variable set in the CIW by typing "editor", for me it just returns "gvim" and this seems to work. A common setting is something like "xterm -e vi" and this might be the cause of the problem (on Linux "vi" is 'vim' I believe).
Take a look and see what it is set to, and if changing it solves the problem. Hope it helps!
A quick search of our problem database revealed that Solution 1840362 seems to cover this - look at the "EDITOR" environment variable setting.