Improve default keybindings for Linux/Windows #215
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently the default key bindings on Linux and Windows aren't optimal. For example
ctrl-alt-t
is already used by most distros to open a terminal, see #163. In general it's uncommon for Linux apps to usectrl-alt-*
keybindings as they are usually used by system apps.After looking through the issues, it looks to me that only people on Linux/Windows have problems with the default keybindings: #168, #198.
Also note that
ctrl-alt-*
has some problems on Windows, see this post which advises not to use them on Windows at all: atom/atom-keymap#35 (comment)Last but not least they are rather uncommon among existing build apps like Sublime Text or CodeBlocks.
I've tried to find some new defaults, here is my reasoning for them:
f4
error-match: This is the keybindings Sublime Text uses.shift-f4
error-match-first: Should be similar to error-match, therefore added shift.f9
trigger: This is used by CodeBlocks for build and runf7
select-active-target: To match Visual Studio's build shortcut. Maybe change toshift-f9
?f8
toggle-panel: A key between f7 and f9 :D I'm not sure about this one.Also see #168 (comment) for suggestions.
What do you think? :)