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

Possible keybind overlap with Atom? #198

Closed
Jay1 opened this issue Oct 6, 2015 · 4 comments
Closed

Possible keybind overlap with Atom? #198

Jay1 opened this issue Oct 6, 2015 · 4 comments

Comments

@Jay1
Copy link

Jay1 commented Oct 6, 2015

I don't do this very often, pardon my Github etiquette,

CTRL-ALT-B (build:trigger on atom-build) overlap with editor:move-to-previous-subword-boundary from atom-text-editor (which is the case by default I believe)

I don't know if it's a well known fact and I'm stating the obvious here, but I had to rebind build:trigger for a few months now, every new patch.

@noseglid
Copy link
Owner

noseglid commented Oct 6, 2015

Which version of build do you have? This was already reported in #168 and (supposedly) fixed in #172 . This was released in v0.46.0.

@Jay1
Copy link
Author

Jay1 commented Oct 6, 2015

version : 0.47.0

By the way the default keybind from atom is set in \keymaps\emacs.json
This is my build.json

{
  ".platform-darwin atom-workspace, .platform-darwin atom-text-editor": {
    "cmd-alt-b": "build:trigger",
    "cmd-alt-v": "build:toggle-panel",
    "cmd-alt-g": "build:error-match",
    "cmd-alt-h": "build:error-match-first",
    "cmd-alt-t": "build:select-active-target"
  },
  ".platform-linux atom-workspace, .platform-linux atom-text-editor, .platform-win32 atom-workspace, .platform-win32 atom-text-editor": {
    "ctrl-alt-b": "build:trigger",
    "ctrl-alt-v": "build:toggle-panel",
    "ctrl-alt-g": "build:error-match",
    "ctrl-alt-h": "build:error-match-first",
    "ctrl-alt-t": "build:select-active-target"
  },
  ".build": {
    "escape": "build:stop"
  },
  ".build-confirm": {
    "enter": "build:confirm",
    "escape": "build:no-confirm"
  }
}

@noseglid
Copy link
Owner

noseglid commented Oct 6, 2015

Yes, that is what the build.json keymap should look like. Could you bring up the Key-binding resolver (via the command palette) and press ctrl-alt-b or cmd-alt-b depending on OS? What does it show?

@Jay1
Copy link
Author

Jay1 commented Oct 7, 2015

On windows 10
Key-binding resolver

Edit: From what I undersand Atom should give priority to the command highlighted in green, but it does not appear to be the case currently.

Edit2: Nevermind, apparently some kind of operating system glitch prevented my atom to properly use this hotkey, after a hard reboot and a refresh of Atom folder and savefiles everything is fine and CTRL-ALT-B will build my code now.

Thanks for your help @noseglid

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

2 participants