Skip to content

Feature request: Support key bindings to launch different shells/profiles #1708

Description

@kgfly

Description

It would be very useful to support key bindings that can launch different shells from a shortcut.

For example, on Windows:

  • Ctrl+Shift+1 → open a new tab/window running cmd.exe
  • Ctrl+Shift+2 → open a new tab/window running WSL (wsl.exe)
  • Ctrl+Shift+3 → open PowerShell

eg

{ key = "1", with = "control | shift", action = "Run", run = "cmd.exe" },
{ key = "2", with = "control | shift", action = "Run", run = "wsl.exe" },

Currently, Rio supports configuring a default shell, but key bindings cannot choose which shell/program is launched.

Current behavior

The shell is configured globally, for example:

[shell]
program = "wsl"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions