Sublime Forum

toggle_overwrite in OS X with PC keyboard

#1

I am running ST3 on OS X 10.8.5 and using an IBM (M series) US keyboard (a standard PC keyboard). I would like to enable the toggle insert/overwrite mode using the “Insert” key. I have edited the user key bindings file as follows:

{ "keys": "insert"], "command": "toggle_overwrite" }

]

However, this solution does not work. Since the “Insert” key is recognised by OS X as “Help”, I have also tried:

{ "keys": "help"], "command": "toggle_overwrite" }

]

with the same unsuccessful result. I am certain about the correctness of the this approach, since I tried to link the toggle overwrite mode to the “F1” key, using the following file

{ "keys": "f1"], "command": "toggle_overwrite" }

]

and it worked perfectly.

It seems that the problem is how Sublime Text identifies the “Insert” key of a PC keyboard connected to a Mac.

Any help is much appreciated

0 Likes