Cursor Maximum amount of opened tabs

October 20, 2026

Are you ever stuck with too many tabs open in Cursor? Thank god there’s a simple fix for that.

Cursor opens a lot of files for you when the agent is working, and before you know it the tab bar is full of files that have nothing to do with what you’re looking at. That makes it a lot harder to keep track of the relevant files.

Since Cursor is built on VSCode, the fix is the same as in VSCode.

Prerequisites

  • Cursor installed

Steps to set Cursor max for opened tabs

  1. Open the VSCode settings using CTRL + , on Windows or ⌘ + , on Mac (not the Cursor Settings page)
  2. Search for workbench.editor.limit
  3. Set the workbench.editor.limit.value to the amount of tabs that you want open. I prefer to have it on 5 on a 14-inch Macbook Pro, since otherwise it clutters the window.
  4. Set workbench.editor.limit.enabled to true by clicking it

And from now on, remember to use the ⌘ + P to quickly open new tabs.

If you prefer editing the settings.json directly, add this:

"workbench.editor.limit.enabled": true,
"workbench.editor.limit.value": 5

Profile picture

Written by An anonymous coder who lives and works building useful things. Mostly focusing on Django, Vue and overall Python examples.