4 ms·
Thanks for mentioning this! A lot of people don't know that macOS has a lot of Emacs keybindings as defaults. You can even customize it by putting a DefaultKeyB
by filchermcurr 7y ago
Thanks for mentioning this! A lot of people don't know that macOS has a lot of Emacs keybindings as defaults. You can even customize it by putting a DefaultKeyBinding.dict file in ~/Library/KeyBindings/. The defaults are in `/System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict` to use as a reference, but you can also find lots of examples around GitHub and various blogs.
Documentation seems to be a bit sparse (maybe I'm just terrible at searching), but this should get anybody who is interested going:
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html https://developer.apple.com/library/archive/documentation/Co...
More helpful and practical documentation: http://xahlee.info/kbd/osx_keybinding.html http://xahlee.info/kbd/osx_keybinding.html