Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Key Binding Conflict with Select Word #7

Open
bretonics opened this issue Feb 15, 2018 · 1 comment
Open

Key Binding Conflict with Select Word #7

bretonics opened this issue Feb 15, 2018 · 1 comment

Comments

@bretonics
Copy link

There is a keybinding conflict with Ctrl-Shift-W with word selection in Atom's core atom-text-editor selector.

I think the key bindings rbox uses are way too broad:

'atom-text-editor:not([mini])':
  'ctrl-shift-W': 'hydrogen:add-watch'
'.platform-darwin, .atom-workspace':
  'ctrl-shift-W': 'hydrogen:add-watch'
'.platform-darwin, .atom-text-editor':
  'ctrl-shift-W': 'hydrogen:add-watch'

So broad in fact that custom keybindings, even when setting unset!, do not resolve the conflict.

'atom-text-editor:not([mini])':
  'ctrl-shift-W': 'unset!'

'.platform-darwin, atom-text-editor':
  'ctrl-shift-W': 'unset!'

Why? Because if these are unset!, to remove rbox's bindings, they also actually unset the core Ctrl-Shift-W keybinding. I tried multiple combinations and it wouldn't work; either all are unset and nothing works, or leaving the atom-text-editor selector set activate rbox's keybinding, overriding the core atom-text-editor selector. Maybe I am mistaken, so any suggestions?

The only option was uninstalling/deleting rbox, and restarting Atom. Core key binding worked. So for now, this will be the case for me. Unless there is a different way to use the custom keybinding and I am mistaken somewhere.

@saeidamiri1
Copy link
Owner

Now use ctrl-alt-w,
https://github.com/saeidamiri1/rbox/wiki/Use-under-macOS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants