Skip to content

Key alternation for previous_tab does not work #1809

Description

@hongquan

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.

Current behavior

I added this in the config:

[keys]
new_tab = ["prefix+c", "f2"]
next_tab = ["prefix+n", "f4"]
previous_tab = ["f3", "prefix+p"]

[ui]
prompt_new_tab_name = false

But when pressing "F3", Herdr does not switch to the previous tab.
The "F2", "F4" still work as expected.
By the way, although prompt_new_tab_name = false, Herdr still asks for tab name when I create new tab.

Expected behavior

Pressing "F3" will make switch to previous tab, like "prefix + b".

Reproduction

Just add config like above.

Impact

I have to keep pressing F4 to go to next tab, next tab, making one round to go to "previous tab".

Environment

  • Herdr version: 0.7.4
  • Update channel (stable or preview): stable
  • Operating system: Ubuntu 26.04
  • Terminal: Ghostty
  • Shell, if relevant: Fish
  • Relevant config, if any: Pasted above

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