On Wed, May 27, 2009 at 12:17 AM, Mahurshi Akilla wrote:
>
> Under my current linux xterm settings, in vim, shit+insert generally
> helps paste things from the clipboard, whether i am in escape mode or
> insert mode.
>
> However, pressing shift+insert only pastes "<S-Insert>" in gvim. Is
> there a way to change this behavior and have it actually print the
> contents of the clipboard?
This excerpt from the Debian and Ubuntu debian.vim does exactly that:
if has('gui_running')
" Make shift-insert work like in Xterm
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
endif
~Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---