# Horizontal sidebar: Next/Previous Primary Side Bar View ignores reordered tabs

**URL:** <https://forum.cursor.com/t/horizontal-sidebar-next-previous-primary-side-bar-view-ignores-reordered-tabs/174893>\
**Category:** Bug Reports\
**Tags:** keybindings, layout\
**Created:** [October 15, 2026, 3:52pm UTC](https://forum.cursor.com/t/horizontal-sidebar-next-previous-primary-side-bar-view-ignores-reordered-tabs/174893 "2026-10-15T15:52:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jun2M](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@Jun2M](https://forum.cursor.com/u/Jun2M)\
**Post date:** [October 15, 2026, 3:52pm UTC](https://forum.cursor.com/t/horizontal-sidebar-next-previous-primary-side-bar-view-ignores-reordered-tabs/174893/1 "2026-10-15T15:52:04Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

With the horizontal activity bar, the Next/Previous Primary Side Bar View commands do not follow the displayed tab order after tabs have been rearranged by dragging.

I want to group frequently used sidebar tabs together so that keyboard navigation moves between adjacent tabs. Reordering them visually does not change the navigation order.

### Steps to Reproduce

1. Set `workbench.activityBar.orientation` to `horizontal`.
2. Drag another sidebar tab between Explorer and Search so they are no longer adjacent.
3. Select Explorer.
4. Run `workbench.action.nextSideBarView`.

In my configuration, these commands are bound to:

- Ctrl+Alt+] → `workbench.action.nextSideBarView`
- Ctrl+Alt+[ → `workbench.action.previousSideBarView`

### Expected Behavior

Next and Previous follow the displayed tab order. Next from Explorer should select the tab now immediately after Explorer.

### Operating System

Linux

### Version Information

Version: 3.24.12  
VS Code Extension API: 1.128.0  
Commit: 37b865941ccb31e2fc90c685157534efca87f960  
Date: 2026-10-09T20:56:41.904Z  
Layout: IDE  
Build Type: Stable  
Release Track: Default  
Electron: 42.10.0  
Chromium: 148.0.7778.280  
Node.js: 24.18.1  
V8: 14.8.178.38-electron.0  
xterm.js: 6.1.0-beta.291  
OS: Linux x64 7.2.9-ogc3.1.fc44.x86\_64

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [October 15, 2026, 4:22pm UTC](https://forum.cursor.com/t/horizontal-sidebar-next-previous-primary-side-bar-view-ignores-reordered-tabs/174893/4 "2026-10-15T16:22:39Z")

</div>

Hey, thanks for the report and for the clear steps. I reproduced it. With the horizontal activity bar, the Next/Previous Primary Side Bar View commands currently follow the default view order, not the order you moved the tabs into. I passed this to the team and I’ll reply in the thread if there’s an update.

For now, there are two workarounds if you want keyboard navigation to match your layout:

1. Switch to the vertical activity bar: set `workbench.activityBar.orientation` to `vertical` and restart Cursor when prompted. In this layout, Next/Previous follows the order you drag the icons into.
2. Or keep the horizontal bar and bind shortcuts directly to the views you want, for example `workbench.view.explorer`, `workbench.view.search`, `workbench.view.scm`, `workbench.view.extensions`. Open Keyboard Shortcuts, find the command, and add your own binding.

Let me know if one of these works for you.

---

<div class="post-metadata">

**Author:** ![Jun2M](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@Jun2M](https://forum.cursor.com/u/Jun2M)\
**Post date:** [October 15, 2026, 5:03pm UTC](https://forum.cursor.com/t/horizontal-sidebar-next-previous-primary-side-bar-view-ignores-reordered-tabs/174893/7 "2026-10-15T17:03:06Z")

</div>

Thanks! I confirmed that switching to the vertical activity bar makes the same shortcuts follow my rearranged order. I’m using that workaround for now.
