Sublime Forum

Keybindings shift insert - paste doesnt work

#1

Hi.

I am somewhat trying to get my Mac to accept Windows keystrokes - that I can’t lose the habit of using.

Note: I tried to do it universally across the Mac with DefaultKeyBinding.dict, but couldn’t get that to work for Shift-Insert. So I tried this in Sublime in keybindings.

{ "keys": ["ctrl+insert"], "command": "copy" },
{ "keys": ["shift+insert"], "command": "paste" },
{ "keys": ["shift+delete"], "command": "cut" },

But it does not work for Shift Insert

Thanks in advance.

0 Likes

#2

If you open the console with View > Show Console, enter sublime.log_input(True), and then press shift+insert, what gets logged?

0 Likes

#3

Hi Terence,

Insert - (nothing)

Shift-Insert - (nothing)

Ctrl_Insert - key evt: ctrl+ (with a question mark in that square)

I am using a PC keyboard plugged into a Mac. I notice on the mac, the key in that position is FN

One thing I notice that Ctrl-Insert and Shift-Insert work in Slack.

Thanks

0 Likes

#4

If Sublime doesn’t log anything, it’s not seeing the keys at all (which is the root of your problem). In that case it means that something external to Sublime is capturing the key and handling it without passing it off to Sublime, such as your OS or some global tool, etc.

0 Likes