-
Notifications
You must be signed in to change notification settings - Fork 94
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
Overlap between R shortcuts / keybindings and positron ones #2423
Comments
This is a duplicate of #2150 but maybe the right call is to move these keyboard shortcuts to the RStudio Keymap extension. This would not get rid of the actual problem (on hover, you see a keybinding that does not actually apply in your current situation) but it would mean that a) folks opt IN to using it and b) fewer users total would be in this situation. |
Notes from the duplicate issue that I filed at #2673: We currently define a bunch of Now that we have an RStudio keymap extenstion (#2067) I think this frees us to come up with default keybindings that are less likely to conflict with the larger ecosystem. We could:
I've filed this issue in the RC milestone but I would personally bump it to Public Beta. |
@hadley mentions Cmd+R would be an obvious prefix. It doesn't seem to be used for anything important: |
During our private beta Q&A session, there was some discussion of folks who want to use the R package development shortcuts but not opt in to the RStudio keymap FWIW. |
One reason Cmd + R isn't used for anything important is because it probably can't be remapped in the browser, since it's used for refresh. |
I'm experimenting with this keymap. The ![]() Is there any reasons we'd not be able to use this prefix? Edit: We might want to namespace dev keybindings further in
|
We have collected a number of issues that are related to this problem where the UI always shows a built-in keybinding, even when that keybinding does not apply to that action. The user might end up looking at the UI and trying that keybinding, but it does something completely different. Let's use #2150 to track this problem. |
Positron Version:
Positron Version: 2024.03.0 (Universal) build 893
Code - OSS Version: 1.87.0
Commit: 864257d
Date: 2024-03-05T03:24:32.501Z
Electron: 27.3.2
ElectronBuildId: undefined
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.3.0
Steps to reproduce the issue:
Kapture.2024-03-11.at.11.44.49.mp4
What did you expect to happen?
Some of the listed keybindings on hover doesn't work because they are superseded by R package development commands.
I don't know if it would possible to hide the incorrect shortcuts.
As far as I can tell, I don't have any custom keybindings, so this is vanilla
Were there any error messages in the output or Developer Tools console?
Nope
The text was updated successfully, but these errors were encountered: