Shortcuts being taken by Brackets core
See original GitHub issueHi,
As part of our work to implement multiple selection functionality in Brackets, we need to add a few keyboard shortcuts for new commands. Unfortunately, a number of these shortcuts conflict with Emmet shortcuts.
If it’s possible to change any of these shortcuts that are important for your users, that would be great. Otherwise, you can unregister the default Brackets shortcuts using KeyBindingManager.removeBinding()
before registering your own, but that means users wouldn’t be able to access the Brackets functionality that uses these shortcuts.
Eventually we’ll have configurable shortcuts so this won’t be as much of an issue, but we just wanted to give you a heads-up. The new shortcuts will likely be added in Release 38, which should come out in a month or so.
The specific shortcuts that will conflict with existing Emmet shortcuts are:
- Shift-Alt-Up (Add Previous Line to Selection)
- Shift-Alt-Down (Add Next Line to Selection)
- Ctrl-Alt-L (Split into Lines)
- Ctrl-B (Add Next Match to Selection)
- Ctrl-Shift-B (Skip and Add Next Match)
Of these, I’d say Ctrl-Alt-L is probably the least important to worry about. Ctrl-B/Ctrl-Shift-B are probably the most useful, followed by Shift-Alt-Up/Down.
<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3981897-shortcuts-being-taken-by-brackets-core?utm_campaign=plugin&utm_content=tracker%2F311111&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F311111&utm_medium=issues&utm_source=github). </bountysource-plugin>Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
In case someone needs to implement a quick solution:
Hope it helps somebody 😃
There is also a conflict with
increment_number_by_1
anddecrement_number_by_1
. They are used byedit.lineUp
andedit.LineDown
.I would prefere the following configuration: