Welcome to Fresh!
This quick start guide will have you editing files in Fresh within minutes. Fresh is designed to be immediately familiar if you’ve used any modern text editor.New to terminal editors? Don’t worry! Fresh works just like VS Code or Sublime Text. If you can use
Ctrl+C to copy, you already know half of Fresh.Installation
First, install Fresh using your preferred method:- Quick Install (Auto-detect)
- macOS (Homebrew)
- Windows (winget)
- Linux (Arch)
- npm
- Cargo
Your First File
Let’s open Fresh and create your first file!Launch Fresh
Open your terminal and run:You’ll see the Fresh editor with a clean, empty buffer. Welcome!
Type some text
Just start typing! Fresh has no modes — everything you type appears on screen.Try typing:
Save your file
Press Press
Ctrl+S to save. Fresh will prompt you for a filename.Type:Enter to confirm. Your file is saved!Opening Existing Files
You can open files in several ways:Essential Keyboard Shortcuts
Fresh uses standard keyboard shortcuts you already know:File Operations
| Shortcut | Action |
|---|---|
Ctrl+N | New file |
Ctrl+O | Open file |
Ctrl+S | Save file |
Ctrl+Shift+S | Save as |
Ctrl+W | Close current buffer |
Ctrl+Q | Quit Fresh |
Editing
| Shortcut | Action |
|---|---|
Ctrl+C | Copy |
Ctrl+X | Cut |
Ctrl+V | Paste |
Ctrl+Z | Undo |
Ctrl+Y | Redo |
Ctrl+/ | Toggle comment |
Tab | Indent selection |
Shift+Tab | Dedent selection |
Selection
| Shortcut | Action |
|---|---|
Ctrl+A | Select all |
Ctrl+W | Select word under cursor |
Ctrl+L | Select current line |
Ctrl+D | Select next occurrence (multi-cursor!) |
Shift+Arrow | Extend selection |
Search & Navigation
| Shortcut | Action |
|---|---|
Ctrl+F | Find in current file |
Ctrl+R | Replace in current file |
Ctrl+G | Go to line number |
Ctrl+P | Command Palette (most important!) |
The Command Palette
The Command Palette is your gateway to everything in Fresh. PressCtrl+P to open it:
Try different modes
The command palette has multiple modes, activated by prefix characters:
- No prefix: Fuzzy file finder — search for files in your project
>: Command mode — search and run editor commands#: Buffer switcher — switch between open files:: Go to line — jump to a specific line number
Find a file
With the command palette open, start typing a filename:Fresh will fuzzy-match files in your project. Press
Enter to open the top result.Basic Editing Features
Let’s explore some of Fresh’s powerful editing features:Multi-Cursor Editing
Edit multiple locations at once:Add more cursors
Press
Ctrl+D twice to add cursors at the next two occurrences of name.You should see three cursors now!Block Selection
Select rectangular regions:Select a column
Position your cursor at the ‘A’ in “Age”.Hold
Alt+Shift and press ↓ three times.You’ve selected the entire “Age” column!File Explorer
Browse your project files:Split Views
View multiple files side by side:Working with Code
Syntax Highlighting
Fresh automatically detects file types and applies syntax highlighting. No configuration needed! Try opening files with these extensions:.rs(Rust).js,.ts,.jsx,.tsx(JavaScript/TypeScript).py(Python).go(Go).c,.cpp,.h(C/C++)- And many more!
LSP (Language Server Protocol)
Fresh supports LSP for advanced IDE features:Use LSP features
- Go to definition:
Ctrl+Clickon a symbol (or use the command palette) - Hover documentation: Mouse over a symbol
- Autocomplete: Start typing — suggestions appear automatically
- Diagnostics: Errors and warnings appear inline and in the diagnostics panel
- Code actions: Press
Ctrl+Pand search for “code action”
Search and Replace
Find and replace text with ease:Search for text
Type your search query. Matches are highlighted immediately.Press
F3 to jump to the next match, Shift+F3 for previous.Customization
Change the Theme
Popular themes include:
- Dracula
- Monokai
- Solarized Dark/Light
- One Dark
- Gruvbox
Edit Settings
Fresh stores settings in a JSON file:
See Configuration for all available settings.
Advanced Features
Once you’re comfortable with the basics, explore these powerful features:Integrated Terminal
Run shell commands without leaving Fresh
Keyboard Macros
Record and replay sequences of keystrokes
Git Integration
Git grep, file finder, and status integration
Remote Editing
Edit files on remote servers via SSH
Bookmarks
Jump quickly between code locations
Plugins
Extend Fresh with TypeScript plugins
Getting Help
Where can I find all keyboard shortcuts?
Where can I find all keyboard shortcuts?
Press
Ctrl+P, type >keybindings, and select “Open Keybinding Editor” to browse all available shortcuts interactively.Or see the Keybindings Reference.Why isn't a keyboard shortcut working?
Why isn't a keyboard shortcut working?
Some keybindings may not work on all systems due to:
- Terminal emulator limitations
- OS-level keyboard shortcuts that intercept keys
- Keyboard layout differences
Ctrl+P) to access any command. See the Keyboard Configuration guide for customizing keybindings.How do I configure Fresh?
How do I configure Fresh?
Press
Ctrl+P, type >settings, and select “Open Settings File” to edit config.json directly.See Configuration for all available options.Where are my files saved?
Where are my files saved?
Fresh stores configuration and data in:
- Config:
~/.config/fresh/config.json(Linux/macOS) - Windows:
%APPDATA%\fresh\config.json - Crash recovery:
~/.local/share/fresh/recovery/
Can I use Fresh for large files?
Can I use Fresh for large files?
Yes! Fresh is designed to handle multi-gigabyte files with minimal memory overhead. See the blog post on large file handling for details.
Next Steps
Now that you know the basics, dive deeper:Editing Features
Master multi-cursor editing, block selection, and more
Command Palette
Learn all command palette modes and shortcuts
LSP Integration
Configure language servers for your languages
Configuration
Customize Fresh to match your workflow