Skip to content

Add default keybindings for switching terminals #119653

Closed

Description

@Tyriar

I didn't end up making defaults for focusNext/focusPrevious and use ctrl+shift+j/k personally, but maybe it's time to make it act more like the editor tabs when the terminal is focused since it will be much clearer what terminal is focused when tabs come (#10546).

Activity

  1. added
    feature-request
    terminal
    on Mar 23, 2021
  2. SnirBroshi commented on Mar 23, 2021

    @SnirBroshi
    Contributor

    So you're suggesting Ctrl+Page Up/Down like normal tabs?
    I like Alt+Left/Right.

  3. Tyriar commented on Mar 23, 2021

    @Tyriar
    ContributorAuthor

    Essentially yeah, also ctrl+1-9 and ctrl+(shift+)tab. Though I'm not sure I want to navigate my terminals via an MRU list like editors and I'm sure I'll have a hard time getting used to ctrl+tab not moving the editor 🤔

  4. pixieaka commented on Apr 9, 2021

    @pixieaka

    Daniel Imms (@Tyriar) In my opinion terminal key bindings can inherit from editor to unify user experience in all aspects.
    For example ctrl + tab When terminal section focused to switch between opens terminals and ctrl + w for close current terminal.
    This gonna be awesome because tabs got to terminal to unify editor experience, And this 'll be a plus to unify editor shortcuts as possible. This 'll effect the user at the end so he doesn't remember many shortcuts for editor and for terminal.

  5. Tyriar commented on Apr 20, 2021

    @Tyriar
    ContributorAuthor

    Editor shortcuts:

    https://github.com/Microsoft/vscode/blob/601dec633b08a5184375b127d014967e90ae1954/src/vs/workbench/browser/parts/editor/editor.contribution.ts#L324-L325

    Mohamed AbouGendy (@pixieaka) I'm not sure we want to touch the ctrl+(shift+)tab shortcuts because some people like me use it to move focus from the terminal to the editor, plus we don't have the concept of MRU terminal navigation currently. For ctrl+w I'm hesitant to add because it's a shell shortcut.

  6. added
    unreleased
    on Apr 20, 2021
  7. Tyriar commented on Apr 20, 2021

    @Tyriar
    ContributorAuthor

    I went with:

    • Linux/Windows: Ctrl+Page Up/Down
    • macOS: Cmd+Shift+[/]

    Mac also has cmd+alt+left/right to navigate tabs but that's already used to navigate split panes and this aligns with iterm.

  8. added
    insiders-released
    and removed
    unreleased
    on Apr 21, 2021
  9. helloguille commented on May 25, 2021

    @helloguille

    Hi, some feedback:

    I'm on Version: 1.56.2 and the new "next pane" default shortcut is not working on Mac or it is so complicated that is impossible to remember and reach in some layouts like Spanish:

    Screen Shot 2021-05-25 at 17 59 52

  10. helloguille commented on May 25, 2021

    @helloguille

    Sorry if I'm overloading you- I feel like the following is much more natural as "next terminal" shortcut, now that they are shown vertically:

    CMD+ALT+DOWN
    CMD+ALT+UP

  11. locked and limited conversation to collaborators on Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedon-testplanterminal

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions