Skip to content

File Browser

The File Browser is a singleton tab that provides a tree view of all files and folders in your repository or worktree. It’s always available and cannot be closed.

The file tree shows your repository contents with expand/collapse arrows on folders. Each row displays:

  • File/folder icon
  • Name
  • Size (hidden below 400px pane width)
  • Git status badge (hidden below 300px pane width)

Git Status Badges

Files with uncommitted changes show a colored badge:

BadgeMeaning
MModified
AAdded (new file)
DDeleted
RRenamed
CCopied

Opening Files

The File Browser uses a master-detail layout:

  • In split mode, clicking a file shows an inline preview/editor panel within the File Browser tab
  • In list mode (when the File Browser is in the top-left pane with a pane to the right), clicking a file opens it as a separate File tab in the adjacent pane
  • Ctrl+Click always opens a separate File tab regardless of mode
  • Folders expand or collapse on click

Keyboard Navigation

  • Arrow keys — move selection up/down, expand/collapse folders
  • Enter — open the selected file

Toolbar

The File Browser toolbar includes:

  • Expand All / Collapse All — expand or collapse the entire tree (max depth: 3)
  • Find in Files — search file contents across the repository

Context Menu

Right-click a file or folder for options:

  • New File / New Folder
  • Rename
  • Delete
  • Copy Path
  • Open in File Manager
  • Open in External Editor

Display Options

  • Show Hidden Folders — toggle visibility of dot-prefixed files and folders (configurable in Settings)
  • Sorting — sort by name, size, or date

File Path Display

Throughout Glint, file paths are displayed with the filename in primary text and the directory path in subdued text. Clicking the path portion navigates to that folder in the File Browser. Clicking the filename opens the file detail tab.