.gitignore, and supports file decorations from plugins.
Basic Usage
Opening and Closing
| Shortcut | Action |
|---|---|
Ctrl+B | Toggle file explorer visibility |
Ctrl+E | Switch focus between file explorer and editor |
Open a file
Press
Enter to open the selected file (keeps focus on explorer), or double-click to open and focus the editorNavigation
Keyboard Navigation
| Shortcut | Action |
|---|---|
↑ / ↓ | Move selection up/down in file tree |
Enter | Open selected file (focus stays on explorer) |
→ | Expand directory |
← | Collapse directory |
Ctrl+E | Switch focus to editor |
Mouse Navigation
Single Click
Opens the file but keeps focus on the file explorer — useful for quickly previewing multiple files
Double Click
Opens the file and focuses the editor — ready for editing
The file explorer uses your terminal’s mouse support. If mouse clicks don’t work, ensure mouse support is enabled in your terminal emulator.
Git Integration
Gitignore Support
The file explorer automatically respects your.gitignore file:
Show ignored files (optional)
Open command palette (
Ctrl+P) and search for “Toggle Gitignored Files”Hidden Files
Hidden files (starting with.) can be toggled separately:
Independent Settings: Hidden files and gitignored files are separate toggles. You can show hidden files (
.gitignore, .bashrc) while still hiding gitignored files (node_modules/).File Explorer Features
Directory Tree
The file explorer displays your project as a tree structure:▸indicates a collapsed directory▾indicates an expanded directory
File Decorations
Plugins can add visual decorations to files:Git Status
Show modified, staged, or untracked status (via git plugin)
Error Indicators
Highlight files with errors or warnings (via LSP)
Custom Icons
Plugins can add custom icons or badges to files
Color Coding
Different file types or states can be color-coded
File decorations require plugins to be enabled. The default Fresh installation includes git decorations.
Working with the File Explorer
Opening Files
- Quick Preview
- Edit Mode
Single-click or Enter key opens the file while keeping focus on the file explorer.Perfect for:
- Quickly previewing multiple files
- Checking file contents without leaving the explorer
- Browsing through search results
Symlinks
The file explorer handles symbolic links intelligently:Symlinks are resolved when opened, so the editor shows the actual file path, not the symlink path.
File Explorer Settings
Customize the file explorer in yourconfig.json:
config.json
Settings Reference
Width of the file explorer sidebar in terminal columns.
Whether to show hidden files (files starting with
.).Whether to show files ignored by
.gitignore.File Explorer vs Command Palette
Both tools help you navigate files, but they serve different purposes:Use File Explorer When
- You want to browse the project structure visually
- You’re exploring an unfamiliar codebase
- You need to see directory hierarchy
- You want context about file locations
Use Command Palette When
- You know the filename you want
- You want to open files quickly without browsing
- You’re navigating by fuzzy search
- You want keyboard-only workflow
Workflows
Workflow 1: Explore New Project
Workflow 2: Side-by-Side Reference
Workflow 3: Show Hidden Config Files
Performance
Lazy Loading: Directories are only read when expanded, so opening a project with many folders has minimal overhead.
Accessibility
The file explorer works great with keyboard-only workflows:- Full keyboard navigation with arrow keys
- Screen reader friendly (file names are read as text)
- No mouse required for any operation
- Integrates with terminal accessibility features
Troubleshooting
File explorer doesn't show my files
File explorer doesn't show my files
Possible causes:
- Files are gitignored (use “Toggle Gitignored Files”)
- Files are hidden (use “Toggle Hidden Files”)
- Not in a git repository (Fresh uses git to list files)
Ctrl+P) to open files by path.Mouse clicks don't work
Mouse clicks don't work
Cause: Mouse support is not enabled in your terminal.Solution: Check your terminal settings and enable mouse reporting. Most modern terminals support this.
File explorer is too narrow/wide
File explorer is too narrow/wide
Solution: Adjust the
file_explorer.width setting in your config.json.Symlinks show as broken
Symlinks show as broken
Cause: The symlink target doesn’t exist or is outside the project.Solution: Check that the symlink points to a valid file. Fresh resolves symlinks when opening them.
Related Documentation
Command Palette
Fuzzy file finding and commands
Navigation
Moving around your codebase
Configuration
Customize Fresh settings