Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key binding is taken by built-in command #168

Closed
sryze opened this issue Aug 25, 2015 · 4 comments
Closed

Key binding is taken by built-in command #168

sryze opened this issue Aug 25, 2015 · 4 comments

Comments

@sryze
Copy link
Contributor

sryze commented Aug 25, 2015

Ctrl+Alt+B seems to be assigned to editor:move-to-previous-subword-boundary by default. Is there any way to choose one over the other?

@noseglid
Copy link
Owner

I don't have that binding. Where does it come from?

You could set a keymap yourself, make sure it has the at least the same specificity as the built in. See https://discuss.atom.io/t/why-do-user-key-bindings-not-take-priority/11740

@FossPrime
Copy link

Same issue after updating to 1.0.8
http://i.imgur.com/UTK0p81.png

That said... none of the F5-F10 keys are taken.
For now ill try to map them to

Function Shortcut Key
Build Ctrl + F9
Compile current file Ctrl + Shift + F9
Run Ctrl + F10
Build and Run F9
Rebuild Ctrl + F11

Which is codeblocks default and doesn't conflict with any Atom core shortcuts.

@noseglid
Copy link
Owner

It appears as by default, editor:move-to-previous-subword-boundary is set to alt-b (See https://github.com/atom/atom/blob/master/keymaps/linux.cson#L98)

Is there something other that might have rebound the keys for you? Since you both have the same issue, it's likely to be another package. Would you mind pasting your installed packages (apm list --installed) ?

@noseglid
Copy link
Owner

Hmm, I think I found it. It appears to be because of https://github.com/atom/atom/blob/master/keymaps/emacs.cson#L9.

This change seems to have been made recently in atom/atom. I've opened an issue to see the developers take on this: atom/atom#8602.

noseglid added a commit that referenced this issue Sep 9, 2015
On Linux, editor:move-to-previous-subword-boundary is bound
to `ctrl-alt-b`. Add specificity to the build keymap to win.

Fixes #168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants