Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom - disable single key binding

Tags:

atom-editor

How can I disable a single key binding such as ctrl-alt-= in Atom?

I'm using the QWERTZ keyboard layout, so that I execute pane:increase-size when I type a '\'.

like image 539
Scriptim Avatar asked Oct 08 '15 18:10

Scriptim


People also ask

How do I turn off key binding resolver in atom?

Press esc button or ctrl + . again. It will remove the popup.

How do I change key bindings in an atom?

You have to go to Edit -> Preferences -> Keybinding. In this tab you can see your actual binding and if you want to change it, you can access to the keymap file and overcharged configuration. To access this file you can click on the link below the "Keybindings" title.

How do you remove an indent in an atom?

In Atom and in most IDEs you can untab by hitting SHIFT and TAB .


1 Answers

  1. Open settings with File > Settings

  2. Click Keybindings

  3. Filter the list by typing ctrl-alt-= in the search box.

  4. Click the clipboard icon next to the shortcut. This will copy the shortcut definition to your clipboard.

  5. Click the hyperlinked text your keymap file.

  6. Paste in the contents of the clipboard.

  7. Replace 'pane:increase-size' with the value 'unset!'

Now ctrl-alt-= will not do anything.

EDIT: 'unset!' was previously null, see this atom discussion for details.

EDIT2: To fix issues with many non-QWERTY keyboard layouts, check out the keyboard-localization package for Atom.

like image 79
Monkpit Avatar answered Sep 20 '22 10:09

Monkpit