-
Notifications
You must be signed in to change notification settings - Fork 91
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
Use Ctrl + 1 / Ctrl + 2 to send focus to Console / Source? #268
Comments
This feels like a quick win, and makes a big difference for my personal workflow. I don't think there's currently a way to switch focus between Source / Console via the keyboard. |
It could be nice if this keyboard shortcut also focused the Console tab of the of the bottom "Panel" e.g. if the Terminal or Output tab is currently focused. |
I am really missing this from RStudio. I achieve it differently (Ctrl + X, O) because I use the Emacs keybindings. But, yes, I too would dearly love to have a command for this. |
VS Code uses Ctrl + 1, Ctrl + 2, etc. to focus the first, second, etc. editor tab. So this is another case wherein we'd probably want the user to opt into RStudio keymaps (#669) before we took the bindings. |
In #2067 we added the RStudio keymap including:
|
In Positron 2024.01.0 (Universal) build 176 I can switch focus between the source editor and console with Ctrl + 1 and Ctrl + 2: ctrl-one-two.mov |
For me on Linux, EDIT: Sorry, just enabled Rstudio Keymap in settings. (rstudio.keymap.enable) Positron Version: 2024.07.0 build 21 |
This is a bit of muscle memory from RStudio that might be nice to have in Positron as well.
The text was updated successfully, but these errors were encountered: