Add vim funtion to use gvim in console mode or vim.

This gives Vim access to the system clipboard.