You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RStudio Keymap shortcuts are visible all the time, even with the keymap disabled. They wind up in menus (see #3847), and are also visible in the key mappings dialog.
This happens because the RStudio Keymap extension registers its shortcuts declaratively, as part of the extension's package JSON.
This is the established pattern for keymaps extensions in the ecosystem.
However, because the RStudio Keymap is a built-in extension, it is always installed and always activated. In order to prevent the keymap from also always being active, we guard each mapping with config.rstudio.keymap.enable, so it only engages when the "RStudio Keymap" setting is on.
This doesn't provide a clean experience; we need to prevent these keymappings from leaking when the keymap is disabled.
I enable the RStudio Keymap shortcuts. I 'm not sure if it's my settings that are wrong, ctrl+ shift + A doesn't work.
Also, alt + "-" on the numeric keypad doesn't work (<-). But alt + "-" on the right side of the number 0 on the main keyboard (the third key to the left of backspace) can output <- normally.
Others like ctrl + 1 or ctrl + shift + n can be used.
I'm not sure if it's a bug, I'm more suspicious that I have set it wrong. Can you help me? Thank you very much.
The RStudio Keymap shortcuts are visible all the time, even with the keymap disabled. They wind up in menus (see #3847), and are also visible in the key mappings dialog.
This happens because the RStudio Keymap extension registers its shortcuts declaratively, as part of the extension's package JSON.
positron/extensions/positron-rstudio-keymap/package.json
Lines 51 to 59 in 8fa8041
This is the established pattern for
keymaps
extensions in the ecosystem.However, because the RStudio Keymap is a built-in extension, it is always installed and always activated. In order to prevent the keymap from also always being active, we guard each mapping with
config.rstudio.keymap.enable
, so it only engages when the "RStudio Keymap" setting is on.This doesn't provide a clean experience; we need to prevent these keymappings from leaking when the keymap is disabled.
Options:
The text was updated successfully, but these errors were encountered: