Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode: Remap capslock

(Mac) Is it possible to remap caps lock to do anything other than it's OS intended purpose? I have tried playing with it in Karabiner and in the System Preferences>Keyboard>Modifier Keys but no luck. This is not to make it a modifier key but just a non-capslock key in it's own right.

like image 552
DILP Avatar asked Jan 08 '18 01:01

DILP


People also ask

How do I change VSCode Keybinds?

All keyboard shortcuts in VS Code can be customized via the keybindings.json file. To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar.

Can I disable Caps Lock?

Right-click the NumLocker system tray icon and select the Caps Lock option. Finally, select Always Off to disable Caps Lock.

How do I remap Caps Lock on Windows 10?

Click the Keyboard icon in the System Preferences window. Click the Modifier Keys button near the bottom of the window and use the options here to change what your Caps Lock key does.


1 Answers

For vscode, you need to add the setting otherwise vscode will use it's own mapping, see the discussion on the official Microsoft GitHub.

"keyboard.dispatch": "keyCode"
like image 148
Gregory Bleiker Avatar answered Oct 17 '22 22:10

Gregory Bleiker