Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33327 - Clipboard paste keyboard shortcut mappings to gvim
Summary: Clipboard paste keyboard shortcut mappings to gvim
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2003-11-12 13:17 UTC by Max Kalika (RETIRED)
Modified: 2003-11-15 08:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Kalika (RETIRED) gentoo-dev 2003-11-12 13:17:39 UTC
please add the following mappings to /etc/gvimrc

map  <S-Insert> "*gp
map! <S-Insert> "*gp
imap <S-Insert> <MiddleMouse>
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-11-12 19:47:34 UTC
shouldn't that be noremap and inoremap?
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-11-12 19:49:19 UTC
Also, shouldn't the imap version use <c-r> instead of middle mouse?
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-11-12 19:50:33 UTC
also, what is the purpose of map! following map?  sorry for three separate comments... it's getting late.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-11-15 08:25:15 UTC
Okay, now that I've done some reading and I'm a little more awake,
I think that the only one we should have is:

    map! <s-insert> <c-r>*

This will allow the mapping to happen in insert mode and at the
command-line..  However I don't think I should add the others because
the clear intent of the Gentoo vimrc/gvimrc is to stray as little as
possible from the default vim settings.

Hehe, didn't realize 'til just now that you're a dev. :-)