Skip to content

Source columns: review keyboard commands #7428

Open

Description

@mikebessuille

Review commands for moving tabs to other panes. E.g. keyboard command to move current tab to next source pane, close all other tabs in the panel, etc.

Activity

  1. added this to the Later milestone on Jul 23, 2020
  2. added
    tech debt
    on Jul 23, 2020
  3. melissa-barca commented on Jul 23, 2020

    @melissa-barca
    Contributor

    I tested out the Close other documents command and it closes all other documents, regardless of the column. I believe this is the expected behavior.

  4. MilesMcBain commented on Aug 6, 2020

    @MilesMcBain

    I've just been playing with this. Really exciting to see multiple source panes coming in!

    The next/prev idea currently has a couple of issues IMHO. I'll discuss in the context of my current layout which is this:

    image

    If I do next pane from the left most source column I get to the second source column on the right. But this column seems to now become THE source column.

    That is if I switch to the console with CTRL + 2, and then do CTRL + 1 it takes me back to right most source column. To get back to the left most source column I have to then do previous pane or next pane all the way round the quadrants, through the panes I have pushed off screen to the right.

    This means I need always remember which was the last source column I was in to know what quick combination of keys I need to press to get to where I want to go. It would be better IMHO to support jumping to a source column directly. Although you'd have to introduce numbered source columns or something to make this work. This is how my emacs setup does it:

    image

    The little numbers in the corner indicate the target pane number. To get to that pane I do "space W <number>" in sequence (from edit mode).

    This could be simulated in RStudio with the chorded keybindings. You could have CTRL + <key> <number> to get to source column .

  5. melissa-barca commented on Aug 10, 2020

    @melissa-barca
    Contributor

    Thank you for the detailed feedback @MilesMcBain! I agree that it would be nice to be able to jump to a specified column via the keyboard and we'll keep it in mind as we continue to build out this feature.

  6. salim-b commented on Oct 18, 2020

    @salim-b
    Contributor

    In addition to @MilesMcBain's comment which I fully support:

    If you have one or more additional source columns opened and close the first/primary source pane quadrant (e.g. to enjoy a full-height console pane), and then try to switch from console to source (i.e. the column that's still open) using Ctrl+1, a new empty file is opened in the first/primary source pane quadrant instead of switching to the still opened source column. Really annoying if you're used to these Ctrl+1/2/3 shortcuts.

    I think there's no way around introducing numbered source panes/columns to have predictable keyboard navigation.

    Somehow related: #7919

  7. added and removed
    tech debt
    on Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions