25

Any clue how to get Shift-Insert to paste in OS X using a windows keyboard?

I use the mouse on the left side so command-v is makes me switch back and forth a lot. I have had no luck with any of my searches.

ansible
  • 401
  • 1
  • 5
  • 8
  • 1
    Your answer can be found in [this](http://apple.stackexchange.com/questions/32297/how-can-i-reassign-the-copy-paste-keyboard-shortcuts) thread. – LMNOP Jan 17 '14 at 16:54
  • Or this one: http://apple.stackexchange.com/questions/32297/how-can-i-reassign-the-copy-paste-keyboard-shortcuts – Ƭᴇcʜιᴇ007 Jan 17 '14 at 16:55
  • Thanks, unfortunately none of those suggestions work on that page. – ansible Jan 17 '14 at 17:14
  • 1
    Far as I can tell, most answers are out of date and don't work with Mojave. Best bet seems to be using Karabiner Elements app. – ficuscr Apr 25 '19 at 18:09

4 Answers4

12

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.

TheOsp
  • 221
  • 2
  • 5
  • too bad Yosemite doesn't user X11.. for performance, I'm not fond of installing X11 just to get a key. There must be a way to remap a key on Yosemite with xmodmap.. – Henrique de Sousa Jun 02 '15 at 22:01
11

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.

bdetweiler
  • 211
  • 2
  • 4
5

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$"
          ]
        }
      ]
    }
  ]
},
ansible
  • 401
  • 1
  • 5
  • 8
  • 3
    How to and where to include this JSON is explained here https://github.com/tekezo/Karabiner-Elements/issues/1225 – llamerr Jul 23 '18 at 13:37
0

On Mac paste works with cmd + v(same as ctrl + v as in Windows)

But this shortcut doesn't work for Linux Bash shell, such as to paste to file being edited with vi editor.

Did some search, tried out some short cuts and found out ctrl + shift + v works for my Mac for Linux command line shell or for vi editor properly same as that of shift + insert in windows or Linux

lin
  • 1
  • 1