KeyBindings icon indicating copy to clipboard operation
KeyBindings copied to clipboard

Some additional documentation…

Open tvanyo opened this issue 3 years ago • 3 comments

I'd suggest a couple of additional comments in the documentation.

  1. 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
  2. You cannot use symbolic links to a .dict file, you must put a copy of the file in your ~/Library/KeyBindings directory.

tvanyo avatar Feb 21 '22 16:02 tvanyo

It works if you're using Slack in a browser, e.g. Safari.

deed02392 avatar Dec 07 '23 14:12 deed02392

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

hym3242 avatar Jan 21 '24 16:01 hym3242

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?

luxuxl avatar Sep 15 '24 14:09 luxuxl