Shift-Insert to paste in Mac OS X?
Though I have Mac I spend most of the time on a Linux virtual machine.
I really need Shift-Insert to access the selections clipboard.
So I remapped on my linux machine F9 which I rarely use to behave like Insert.
xmodmap -e "keycode 75 = Insert Insert Insert"
Put this in a file that is being load in your window manager startup
So now I can use Shift-F9 to insert.
Being primarly a Linux guy, I use the Shift-Ins method mostly in the terminal, where Ctrl-V doesn't always work. iTerm2 lets you remap keys.
Preferences -> Keys -> Key Mappings -> +
Then select Paste from the Action list, and click on the Keyboard Shortcut and press Shift-Ins. It will show up as Shift-Help.
I was finally able to get this to work using Karabiner-Elements - https://pqrs.org/osx/karabiner/index.html
I created a "Complex Modifications" to allow this by adding this modifier to one of the json files:
{
"description": "PC-Style Shift-Insert Paste",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "insert",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "v",
"modifiers": [
"left_command"
]
}
],
"conditions": [
{
"type": "frontmost_application_unless",
"bundle_identifiers": [
"^com\\.microsoft\\.rdc$",
"^com\\.microsoft\\.rdc\\.mac$",
"^com\\.microsoft\\.rdc\\.macos$",
"^com\\.microsoft\\.rdc\\.osx\\.beta$",
"^net\\.sf\\.cord$",
"^com\\.thinomenon\\.RemoteDesktopConnection$",
"^com\\.itap-mobile\\.qmote$",
"^com\\.nulana\\.remotixmac$",
"^com\\.p5sys\\.jump\\.mac\\.viewer$",
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
"^com\\.teamviewer\\.TeamViewer$",
"^com\\.vmware\\.horizon$",
"^com\\.2X\\.Client\\.Mac$",
"^com\\.vmware\\.fusion$",
"^com\\.vmware\\.horizon$",
"^com\\.vmware\\.view$",
"^com\\.parallels\\.desktop$",
"^com\\.parallels\\.vm$",
"^com\\.parallels\\.desktop\\.console$",
"^org\\.virtualbox\\.app\\.VirtualBoxVM$",
"^com\\.vmware\\.proxyApp\\.",
"^com\\.parallels\\.winapp\\.",
"^com\\.apple\\.Terminal$",
"^com\\.googlecode\\.iterm2$",
"^co\\.zeit\\.hyperterm$",
"^co\\.zeit\\.hyper$",
"^io\\.alacritty$",
"^net\\.kovidgoyal\\.kitty$"
]
}
]
}
]
},