Repository navigation
Pin Reorder and Wrap Tabs
Keep the files you always need at the front of the tab strip, put tabs in the order you like, and choose whether a long row of tabs scrolls or wraps. This page covers the tab strip above the editor. Opening, saving and closing files is in Editor and Tabs.
Drag a tab left or right:
- Press on a tab and move the mouse a little. The tab lifts and follows the pointer, and the other tabs slide aside to show where it will land.
- Let go to drop it there. The tab you dragged becomes the tab on screen.
- Press Escape while dragging to put it back where it was.
- When the tabs scroll, drag near the left or right end of the strip to scroll it.
A tab moves inside its own group. With the split editor on, use the move item in the tab's right-click menu, such as Move to Right Group, to move it to another group.
The Diff tab is always first and cannot be moved.
[TODO:tabs-pinned.png]
A pinned tab stays at the front of the strip and stays open when you clean up:
- Right-click a tab and choose Pin Tab, or use Window > Pin Tab for the tab on screen.
- Pinned tabs move to the start of the strip, after the Diff tab, in the order you pinned them.
- A pinned tab shows a pin where the close button would be. Click the pin to unpin it.
- Close Others, Close to the Right and Close All leave pinned tabs open. The Tab limit in Settings > Editor never closes them either.
- To close a pinned tab, middle-click it, choose Close in its menu, or press Cmd+W while it is on screen.
Dragging never pins or unpins a tab. A pinned tab moves only among the pinned tabs, and any other tab stops right after the last pinned one.
Pinning a preview tab (the one in italics) also keeps it open. Pinned tabs stay pinned after a restart when Reopen tabs on start is on, and Reopen Closed Tab (Shift+Cmd+T) brings a closed pinned tab back pinned.
By default, tabs that do not fit stay in one row and you scroll through them with the mouse wheel. Turn on Settings > Editor > Wrap tabs to show them on more rows instead:
[TODO:tabs-wrapped.png]
- Every tab stays visible, so you never have to scroll to find one.
- The strip grows one row at a time as you open tabs, and shrinks as you close them.
- Dragging works across rows: move the pointer to another row to drop the tab there.
Turn the switch off to go back to one scrolling row. The setting is saved as wrapTabs in settings.json.
With Tab limit set to Single tab and only one tab open, the strip shows its name in the middle instead of a tab. See Single Tab Title.
These pages are generated from docs/wiki. To correct something, open a pull request against the source file; edits made here are overwritten.
Using Nibtree
- Getting Started
- Welcome Screen
- Workspaces
- Files Panel
- File Operations
- File Icons
- Rounded Panels
- Editor and Tabs
- Pin Reorder and Wrap Tabs
- Single Tab Title
- Split Editor
- New File and Unsaved Changes
- Unload Hidden Tabs
- Editing Code
- Code Appearance
- Markdown Editor
- Image and PDF Preview
- Search Everywhere
- Recent Files
- Navigation Bar
- Find and Replace
- Changes and Commits
- Sign In Prompts
- Commit Box Layout
- Repository Actions
- Commit Options
- Ignoring Files
- Diffs
- Inline Diffs
- Staging View
- Revert a Change
- Resolving Conflicts
- Merge Tool
- Blame
- History and Log
- Merge Commits
- Branches and Tags
- Branches Popup
- Remotes
- Stashes
- Shelf
- Git Menu
- Git Dialogs
- Interactive Rebase
- Worktrees
- AI Agents
- AI Tasks
- AI Usage
- Keep Computer Awake
- Submodules
- Git LFS
- GitHub
- Git Console
- Terminal
- Terminal Features
- Scripts
- Navigation
- Menus
- Settings
- Settings Search
- Color Themes
- Settings Terminal and Automation
- Settings Files
- Updates
- Status Bar and Help
- Notifications
- Memory Use
- Clear Cache
- MCP and CLI
- Git Mergetool
- Keyboard Shortcuts
- Keyboard Shortcuts Editor
- Troubleshooting
- Troubleshooting Git
Developers
- Developer Guide
- Architecture
- Project Layout
- Backend
- How Folder Watching Works
- Folder Watching Bugs We Fixed
- How Workspace Files Work
- How the Preview Scheme Works
- Backend Services
- How Terminal Features Work
- Terminal Bugs We Fixed
- Frontend
- How the Rich Markdown Editor Works
- Rich Markdown Bugs We Fixed
- Git Menu Links
- Menu Keys and Routing
- Frontend Modules
- Blame Bugs We Fixed
- Project Color And Title Bar
- One Diff View
- Diff Bugs We Fixed
- Merge Tool Layouts
- Merge Tool Bugs We Fixed
- Color Theme Bugs We Fixed
- How the Connected Diff Works
- Rounded Panels Bugs We Fixed
- Update Bugs We Fixed
- Status Bar Bugs We Fixed
- MCP and CLI Bugs We Fixed
- Repository Actions Bugs We Fixed
- How the Changes Tab Works
- CodeMirror Patterns
- How the Cursor Works
- How Editor Features Work
- How the Path Bar Works
- Commands and Events
- Settings Reference
- Commands Workspace and Changes
- Commands Branches and Remotes
- Commands History and Extras
- Commands App and Tools
- Testing
- Test Suites
- Debugging
- Debugging with MCP
- Measuring Setting Memory
- How Terminal Memory Is Measured
- How Markdown Diagrams Work
- Releases and CI
- Publishing the Wiki
- Versioning and Changelog
- Browser Version Packages
- Browser Release Checks
- Docker Image
- Platforms and Signing
- Windows Support
- Windows Bugs We Fixed
- Windows MCP and CLI
- Docs and Screenshots
- UI Library
- UI Library MCP
- UI Library Bugs
- UI Library Migration
- Contributing
How features work
- Welcome screen
- Workspaces and folders
- Files panel
- File operations
- File icons
- Editor and tabs
- Pin, reorder and wrap tabs
- Single tab title
- Split editor
- New File and unsaved changes
- Unload hidden tabs
- Editing code
- Code appearance
- Markdown editor
- Image and PDF preview
- Search Everywhere
- Recent Files
- Navigation Bar
- Find and replace
- Changes and commits
- Sign-in prompts
- Commit box layout
- Repository actions
- Commit options
- Ignoring files
- Diffs
- Inline diffs
- Staging view
- Revert a change
- Resolving conflicts
- Merge tool
- Blame
- History and log
- Merge commits
- Commit tabs
- Branches and tags
- Branches popup
- Remotes
- Stashes
- Shelf
- Git menu
- Git dialogs
- Interactive rebase
- Worktrees
- AI agents
- AI usage
- Keep computer awake
- AI tasks
- Submodules
- Git LFS
- GitHub account
- Git Console
- Back and Forward
- Integrated terminal
- Scripts tool window
- Menu bar
- Settings
- Search in Settings
- Color themes
- Rounded panels
- Updates and release channels
- Status bar and help links
- Notifications
- Memory readout and memory log
- Clear Cache
- MCP server and command line tool
- git mergetool mode