Closed simonpcouch closed 1 week ago
Maybe modifyKeyboardShortcuts
at https://docs.posit.co/ide/server-pro/reference/rstudio_ide_commands.html via rstudioapi::executeCommand()
.
This file shows an example of setting default keybindings via json—pal could just use the traditional add-in mechanism and then apply this kind of json on restart?
May be lower-friction in Positron: https://code.visualstudio.com/api/extension-guides/command#creating-new-commands
Closing in favor of #22, though the linked issues may be helpful there.
Reopening-- https://github.com/gadenbuie/shrtcts.
I think, ultimately, the interface I'd like to have is something like:
To effectively register keybindings in RStudio, this requires that both:
1) The pal is registered as an add-in 2) The pal is able to bind that add-in to a keybinding
Neither are officially supported in the IDE. ðŸ«