Custom Keybindings in the Atom Editor

Dmitri Popov

Productivity Sauce

Oct 29, 2015 GMT
Dmitri Popov

The Atom editor has keybindings for practically all commands, but some of them may have trouble working with international keyboard layouts. Take the spell checking correction keyboard shortcut, for example. Its default Ctrl-: keybinding doesn't work with the Danish (and probably other international) layouts. Fortunately, this problem is easy to fix. Open Atom settings (press Ctrl-, or choose Edit -> Preferences), and switch to the Keybindings section. Type spell into the filter field to view all spell-checking commands and their keybindings, and click the Copy to Clipboard icon next to the spell-check:correct-misspelling item. Choose Edit -> Open Your Keymap to open the keymap.cson file, then paste the copied keybinding definition into the file. Modify the default keybinding and save the changes to enable the new keyboard shortcut.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More