KeyBindings
KeyBindings copied to clipboard
Some additional documentation…
I'd suggest a couple of additional comments in the documentation.
- This is tied to Cocoa apps, so the list of apps this won't work on is growing.
- For example, does not work with Slack
- You cannot use symbolic links to a .dict file, you must put a copy of the file in your ~/Library/KeyBindings directory.
It works if you're using Slack in a browser, e.g. Safari.
DefaultKeyBinding.dict also works in any textarea,textfield, role=textbox, if not explicited handled by internal shortcuts system. For example, Chrome DevTools CodeMirror editor, VSCode search boxes. This is because Chromium uses Cocoa to implement them. The path to ~/Library/KeyBindings/DefaultKeyBinding.dict is hard coded in AppKit, guess it requires it to be regular file to avoid some security problems
DefaultKeyBinding.dict also works in any textarea,textfield, role=textbox, if not explicited handled by internal shortcuts system. For example, Chrome DevTools CodeMirror editor, VSCode search boxes. This is because Chromium uses Cocoa to implement them. The path to ~/Library/KeyBindings/DefaultKeyBinding.dict is hard coded in AppKit, guess it requires it to be regular file to avoid some security problems
Do you mean the DefaultKeyBinding.dict will not work in vscode, obsidian and so on?