zed-industries/zed

Request: tab_switcher and file_finder settings to show tab content of currently focused menu item

Opened this issue · 1 comments

Check for existing issues

  • Completed

Describe the feature

When I mash ctrl-tab to switch tabs, I am accustomed to, much of the time, looking at the tab content rather than its title to determine when I've hit the right tab. Currently when I ctrl-tab in zed, the content remains fixed while a little menu of titles is invoked (tab_switcher).

Similarly, when I ctrl-p to select a file, if the is open, I like to see the file content in addition to its name.

I would love a setting to have the shown tab content rotate to match the currently focused tab_switcher menu item, so I can watch the content in addition to the title change, and a similar setting for the file_finder.

Environment

Zed: v0.163.3 (Zed)
OS: Linux X11 pop 22.04
Memory: 13.5 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 24.0.3-1pop1171163555922.04~7a9f319

If applicable, add mockups / screenshots to help present your vision of the feature

Shown in the video, Sublime Text:

  • ctrl-tab: switch active tab (no menu, focusing each tab along the way)
  • ctrl-p: switch active file (with menu, but also focusing each tab along the way)
sublime_tab_switching.mp4

if this is implemented, I hope I can disable it

I go through a lot of undesired files when file picking, but I usually know which one I want, so displaying a bunch in the background is just distraction for me

--

also, it's necessary to add some delay before displaying each file, otherwise each keypress would be a new file read, which could make things unresponsive.