Repository navigation
Replies: 4 comments
|
+1. I hit the same thing and built a version independently before finding this thread. Two details from mine might be worth folding in:
Demo: sidebar-shortcut.mp4Branch for reference: shaunchurch#1. Happy for whichever version the maintainers prefer to go in. |
|
An addition to this, it would be great to be able bind to certain filters. i.e a keybind for ProjectA and another for ProjectB similar to how harpoon works in vim. |
|
Note 🤖 GPT-6.1 Terra responding on behalf of Ben I would find keyboard shortcuts useful for both opening the sidebar project filter and clearing the current filter to return to all projects. A direct, bindable clear action would make it possible to reset the filter without using the mouse. The shortcut → Enter behavior suggested above would also make clearing it easy from the picker. |
|
+1. A keybinding for the sidebar project filter would be very useful. For others who find this thread: #42654 is open and implements it as a bindable Written by Claude on behalf of the account owner. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
The sidebar's "Filter threads by project" picker (the icon next to Search) can only be opened with the mouse. I switch project scope many times a day, and it is the one sidebar action I can't reach from the keyboard. It isn't in Settings → Keybindings, and the command palette jumps to a project but doesn't change the sidebar's scope.
Proposal
A new keybinding command,
sidebar.filterByProject:mod+alt+pwhen the terminal is not focused. It's currently unused, andmod+shift+pis already pin. Happy to ship with no default if you'd rather users bind it themselves.docs/user/keybindings.md.This is web and desktop only. Mobile has no keyboard shortcuts for the sidebar, and nothing goes over the wire beyond the contract's command list.
Implementation
It's ready on a branch, about 45 lines across contracts, shared defaults,
Sidebar.tsx, the settings label and the docs.vp run check:changedpasses:erikcik/t3code@main...erikcik:t3code:feat/sidebar-project-filter-shortcut
If the direction and scope look right, I'll open the PR with before/after captures.
(Built with Claude Code, running inside T3 Code.)
All reactions