Skip to content

Switch bar sections with Command-Left and Command-Right - #83

Open
alvst wants to merge 1 commit into
momenbasel:mainfrom
alvst:alvie/pr-section-switch
Open

Switch bar sections with Command-Left and Command-Right#83
alvst wants to merge 1 commit into
momenbasel:mainfrom
alvst:alvie/pr-section-switch

Conversation

@alvst

@alvst alvst commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

⌘← and ⌘→ move between Clipboard and the Pinboard tabs without reaching for the mouse. Plain arrow keys keep moving the card selection, so the two navigations don't fight.

What changed

  • ⌘← / ⌘→ cycle Clipboard and each Pinboard in the order the tab bar already presents them.
  • Card navigation is untouched: unmodified arrows still move the selection within the current section.

Screenshots

No visual change — this is a keyboard-only addition. It adds no chrome; ⌘←/⌘→ perform the same section switch a click on the tab row already does, so the resulting UI is identical to what a click produces today.

For context, a Pinboard reached by the new shortcut — identical to reaching it by clicking the tab:
02-section-switch screenshots after.png

Notes for review

  • No dependencies; merges in any order.
  • Checked against upstream's existing bindings: the new cases are ⌘-guarded and sit ahead of the printable-character search fall-through, so no existing shortcut changes meaning.
  • Out of scope: no wrap-around preference and no menu items for the same action.

This feature should be bundled into v2.

Part of #80.

Cycles Clipboard and each Pinboard tab in the same order the tab bar
presents them, independent of card navigation (plain arrows still move
the card selection).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant