This version brings major features and many quality-of-life improvements and bug fixes:
- A cool dashboard plugin
- Devcontainer support
- init.ts
And more (see below). A large version is more likely to contain regression bugs, so please bear with me if you encounter problems, and open github issues without hesitation.
-
Dashboard plugin: Built-in TUI dashboard that replaces the usual "[No Name]" with useful at-a-glance info.
- Default widgets: git status + repo URL, a "vs master" row (commits ahead/behind), and disk usage for common mounts.
- Opt-in widgets: weather, and open GitHub PRs for the current repo.
- Auto-open (on startup / last-buffer-close) is configurable — e.g.
editor.getPluginApi("dashboard")?.setAutoOpen(false)ininit.ts. When off, use the "Show Dashboard" command in the palette. - Third-party plugins and
init.tscan contribute their own rows via theregisterSection()API. Theinit.tsstarter template includes ready-to-paste snippets for enabling the opt-in widgets, toggling auto-open, and registering custom sections (see below).
-
Devcontainer support (thanks @masak1yu!): Fresh integrates with the devcontainer CLI (install it yourself).
- Detects
.devcontainer/devcontainer.jsonand offers Attach / Rebuild / Detach. - Embedded terminal, filesystem, and LSP servers all run inside the devcontainer.
Dev Container: Create Configscaffolds a config for projects that don't have one.Dev Container: Show Portsmerges configuredforwardPortswith livedocker portoutput.Dev Container: Show Logscaptures the container's recent stdout/stderr.- Build log streams into a workspace split; failed attaches offer Retry / Show Logs / Detach via a recovery popup.
initializeCommandruns on attach.
- Detects
-
init.ts: Fresh now auto-loads~/.config/fresh/init.ts! Allows you to run plugin code on startup, which complements the purely declarative config system with imperative, environment-aware logic. Use command paletteinit: Editto generate a template with some examples. Useinit: Reloadto run it after editing. Use--no-init/--safeto skip loading.- Tip: Enable LSP when editing
init.tsto get help and completions. - Example (for the Dashboard plugin):
// in your init.ts file: const dash = editor.getPluginApi("dashboard"); if (dash) { dash.registerSection("env", async (ctx) => { ctx.kv("USER", editor.getEnv("USER") || "?"); }); }
Will add a line like this to your dashboard:
│ ▎ ENV │ │ USER someone │ - Tip: Enable LSP when editing
-
{remote}status-bar indicator: Clickable status-bar element that lights up when you're attached to an SSH remote or devcontainer, with a context-aware menu (detach, show logs, retry attach, …). SurfacesConnecting/Connected/FailedAttachstates. Fresh's config v1→v2 migration injects{remote}into customizedstatus_bar.left. -
Hot-exit restore split from session restore:
editor.restore_previous_sessionconfig and the--no-restore/--restoreCLI flags now control workspace/tab restoration separately from hot-exit content — unsaved scratch buffers come back even when you opt out of full session restore (#1404). -
File explorer — cut/copy/paste + multi-selection + right-click context menu (thanks @theogravity!):
Ctrl+C/Ctrl+X/Ctrl+Vwith same-dir auto-rename and per-file conflict prompt on cross-dir paste.Shift+Up/Downfor multi-select.- Right-click context menu (#1684) with the usual file operations, honoring the active multi-selection.
- Cut-pending items are dimmed until pasted; cancel a pending cut with Escape or by pasting back into the same directory.
- Renaming a file or directory relocates any open buffers inside it; deleting a file closes its buffer.
-
File explorer — keyboard preview: Moving the cursor with Up/Down in the explorer previews the highlighted file in a preview tab (#1570), so you can scan files without leaving the keyboard.
-
Quick Open / Go-to Line live preview: Typing
:<N>in the file finder (or in the standalone:mode) scrolls the cursor to the target line live as you type; Enter commits, Escape reverts, mouse movement or clicks also commit. -
Terminal shell override (#1637): New
terminal.shellconfig option lets you pick a different shell for the integrated terminal without reassigning$SHELL(which affectsformat_on_saveand other features). -
Suspend process (Unix): New
Suspend Processaction sends Fresh to the background like Ctrl+Z in a shell. Routed through the client in session mode so the server stays up. -
Current-column highlight: New
highlight_current_column/Toggle Current Column Highlight— highlights the cursor's column for alignment work. -
Post-EOF shading (#779): Rows past end-of-file render with a distinct background so the boundary is obvious; works alongside
show_tilde. -
Regex replacement escapes:
\n,\t,\r, and\\in the replacement string are now interpreted when regex mode is on.
-
SSH URLs on the CLI:
fresh ssh://user@host:port/pathlaunches a session whose filesystem and process authority point at the remote host. -
Redraw Screen command (#1070): Added a
redraw_screenaction and palette entry that clears the terminal and fully repaints the UI, useful when an external program scribbles over the TUI. -
Terminal window title (#1618): Fresh sets the terminal window title from the active buffer's filename, matching other editors.
-
LSP status popup upgrades: LSP popup now shows better options for enabling/disabling the nudge.
-
Find Next centers vertically (#1251): When the next match is off-screen, scroll it to roughly the middle of the viewport so you keep context above and below it. Matches that are already visible are not re-scrolled.
-
Adaptive line-number gutter (#1204): The gutter now grows with the buffer's line count rather than reserving 4 digits by default — a small file reclaims 2–3 columns of editor width.
-
File explorer width in percent or columns (#1118, #1212, #1213):
file_explorer.widthnow accepts"30%"(percent of terminal width) or"24"(absolute columns). Dragging the divider preserves whichever form you configured. Legacy integer/fraction values keep working. -
Relative paths to theme files (#1621): User themes in
config.jsoncan be spelled out as relative to your themes directory:- "dark" or "builtin://dark" — any built-in by name
- "my-theme.json" or "subdir/dark.json" — nested relative path in your user themes dir - useful for sharing Fresh config.json in a dotfiles repo
- "file://${HOME}/themes/x.json" — absolute path; ${HOME}, ${XDG_CONFIG_HOME} are expanded
- "https://github.com/foo/themes#dark" — URL-packaged theme
-
Plugin API additions:
-
editor.overrideThemeColors(...)for in-memory theme mutation. -
editor.parseJsonc(...)for host-side JSONC parsing. - Plugin-created terminals now have an ephemeral lifetime — they close cleanly when the action that spawned them finishes.
- Plugin authors can augment
FreshPluginRegistryto makeeditor.getPluginApi("name")return a typed interface (noas-cast needed). Augmentations are emitted to~/.config/fresh/types/plugins.d.tsat load time. -
spawnHostProcessnow returns a handle withkill()(and a matchingKillHostProcesscommand). -
BufferInfo.splitssurfaces which splits display a buffer, for "focus-if-visible" dedupe. -
editor.setRemoteIndicatorState(...)/clearRemoteIndicatorState()let remote plugins drive the status-bar{remote}element. - Dashboard gains
dash.registerSection()(with a returned remover) anddash.clearAllSections()for plugin extension.
-
-
JSONC language:
.jsoncfiles and well-known JSONC-with-.json-suffix files (devcontainer.json,tsconfig.json,.eslintrc.json,.babelrc, VS Code settings files) now get a dedicatedjsonclanguage with comment-tolerant highlighting and LSP routing throughvscode-json-language-serverwith the correctlanguageId. -
macOS Alt+Right / Option+Right stops at word end (#1288): Selection no longer extends past trailing whitespace, matching TextEdit / VS Code on Mac.
-
File Explorer
.gitignoreimprovements (#1388): Files are now visible only if they aren't hidden by ANY of the filters (hidden files,.gitignorefiles). Also, File Explorer will do a better job of auto-reloading when.gitignorechanges. -
Scrollbar theme colours (#1554): The scrollbar now honours
theme.scrollbar_track_fg/scrollbar_thumb_fg. A few themes were updated to define this missing value. -
Fixed panic when clicking split + terminal (#1620).
-
Fixed LSP server crash loop (#1612): When LSP fails on startup, restart bypassed the normal restart count limiter, now fixed.
-
Fixed Markdown preview/compose wrapping when File Explorer is open: When compose width was set (e.g. 80), opening the File Explorer sidebar pushed tables off the right edge. Separator rows no longer overflow when table cells are truncated.
-
More settings propagate live: File-explorer width and flag changes made in the Settings UI apply immediately on save, without a restart.
-
Devcontainer: no re-prompt after restart: Fresh no longer shows the "Attach?" prompt again after the post-attach self-restart.
-
Dashboard polish: Doesn't steal focus from a CLI-supplied file, underline only on clickable spans (not trailing padding), clicks dispatch only from underlined column ranges, immediate repaint on split resize.
-
Quieter LSP: Suppress
MethodNotFounderrors from LSP servers (#1649) — servers that don't implement an optional method no longer spam the log. -
Plugin action popups survive buffer switches: Popups stay visible when the active buffer changes, and concurrent popups queue LIFO so the newest shows first.
-
Encoding detection on CJK files (#1635): Files whose only non-ASCII bytes sat past the 8 KB sample window were mis-detected; the sample boundary is now treated as truncation so the full file is considered before the encoding is guessed.
-
Review diff — no fold jitter: Toggling a fold no longer re-centers the viewport.
-
LSP — cleaner disables: No spurious warning when opening a file for a language whose LSP is explicitly disabled in config. The indicator shows buffer-skip state (e.g. file too large) instead of a generic warning.
-
Windows — preserve UNC paths:
pathJoinplugin API now preserves\\?\UNC prefixes on Windows. -
Hardware cursor no longer bleeds through popups: The terminal hardware cursor is hidden when an overlay popup covers it.
-
Focus — tab clicks reset explorer context (#1540): Clicking a tab or buffer no longer leaves the FileExplorer key context active.
-
File explorer poll fixes: Background refresh no longer collapses folders you've expanded, and resets the cursor to the root only when the selected path is genuinely gone.
-
Review PR Branch — default-branch detection: The prompt now pre-fills the repo's actual default branch (via
origin/HEAD) instead of hard-codingmain. -
Review: PageUp/PageDown: Paging in review-branch mode now scrolls the commit list instead of moving the cursor by one row.
- Authority abstraction: Filesystem, process-spawning, and LSP routing are now consolidated behind a single
Authorityslot, with plugin ops (editor.setAuthority/clearAuthority/spawnHostProcess) for plugins that want to target the host even while attached elsewhere. This is what makes the devcontainer andssh://flows work uniformly.
-
Redraw Screen command (#1070): Added a "Redraw Screen" entry to the command palette (action
redraw_screen) that clears the terminal and fully repaints the UI. Useful when an external program (e.g. a macOS pasteboard diagnostic leaked by the host terminal on Ctrl+C) scribbles over the TUI and leaves ghost text behind. -
PageUp/PageDown in wrapped buffers: Page motion is now view-row-aware, so paging through heavily wrapped text no longer stalls mid-buffer and the cursor stays visible after every press. Each page also keeps 3 rows of overlap with the previous page (matching vim / less) so you don't lose context across the jump.
-
Smarter char-wrapping of long tokens: When a token has to be split mid-word because it doesn't fit on a fresh line, the break now prefers a UAX #29 word boundary within a lookback window instead of an arbitrary grapheme position — e.g.
dialog.getButton(DialogInterface.BUTTON_NEUTRAL).setOnClickListenernow wraps afterBUTTON_NEUTRALrather than mid-identifier.
-
Fixed language detection for extensionless files (#1598, #1607): files like
testwith a#!/usr/bin/zshshebang, or extensionless bash scripts with#!/bin/bash, now detect the language from the shebang instead of falling through to plain text — restoring 0.2.23 behaviour. -
Fixed missing characters and blank first rows when wrapping indented lines (#1597) — e.g. the
:betweenwithandainsomeObject.doSomething(with: a, and: b)was being dropped at the wrap boundary, and quoted strings / code content could be pushed below a row of pure indent whitespace instead of wrapping in place. -
Fixed the end-of-line cursor overlapping the vertical scrollbar on wrapped rows that exactly filled the content width.
-
Reduced idle CPU by avoiding per-tick serialization of config and diagnostics in the plugin snapshot — an idle editor with LSP active no longer reserializes this state dozens to hundreds of times per second.
-
Silenced a bogus
ts -> TypeScriptalias warning at startup (#1601, #1603); the alias itself already worked.
-
Review Diff Rewrite: Files list and diff are now one scrollable unified buffer. Use
n/pto jump to z next/previous hunk. You can collapse per-file, and stage or unstage content on the cursor row (hunk, whole file, or a line-level visual selection). Review comments now persist per-repo across sessions, and a dedicated Comments panel makes them navigable. Two new entry points:Review: Commit Rangefor anyA..B/A...Brange, andReview: PR Branchfor walking a branch's commits with a livegit showside-by-side. In the future I plan to make a new UX for picking the diff target (PR, branch, etc.) -
Git Log Rewrite: Live-preview right panel updates as you move through the log, clickable toolbar, theme-aware colours, aligned columns, wrapped commit messages.
-
Rendering Performance Improvements: see the bugfix section below.
-
Preview Tabs in File Explorer (#1403): Single-clicking a file opens it in an ephemeral "preview" tab that the next single-click replaces, instead of accumulating tabs. Any real commitment — editing, double-click / Enter, clicking the tab, or a layout action — promotes the preview to a permanent tab. Enabled by default; disable via Settings UI.
-
LSP:
- LSP status-bar indicator with a spinner during start-up and indexing (no more jitter as progress messages arrive); configured-but-dormant servers show as
LSP (off). Clicking opens a popup with per-server status, live progress, a "binary not in PATH" label for missing servers likepylsp/gopls(so they don't spawn failing processes), and a per-language mute option. - The LSP hover popup now fuses any overlapping diagnostic (severity-coloured, source-tagged like
rustc/clippy/clangd) above the hover body. .hfiles in C++ projects now route to the C++ LSP when there's a real signal (sibling.cpp/.hpp/.hxx).- LSP Correctness fixes: inlay hints re-request after every edit, anchor correctly at end of line (#1572), vanish when their anchor is deleted, track theme changes, and populate on every open buffer when the server becomes quiescent (previously only one); fold indicators no longer drift after edits around a fold (#1571); and diagnostic / inlay-hint refresh no longer pulls from buffers of the wrong language.
- LSP status-bar indicator with a spinner during start-up and indexing (no more jitter as progress messages arrive); configured-but-dormant servers show as
-
Markdown Table Frames: Tables in Page View now render full box borders — top and bottom frames plus a separator between every data row.
-
Read-only state persists across sessions: Buffers marked read-only stay read-only after restart.
-
Narrow-terminal status bar: The right side drops low-priority elements (palette hint, warning counts, encoding, …) in order so the filename and cursor position stay visible.
-
Shift+Mouse-wheel now scrolls horizontally even when the currently visible lines fit the viewport (previously required a long line to have been rendered first).
-
Explorer auto-expands on first open (#1569):
Ctrl+Bwith a nested file active now reveals the file on the first toggle — no more double-toggle. -
Grammar / language fixes: Bare-filename scripts (
Gemfile,Rakefile,Makefile) highlight correctly;.jsx/.mjs/.cjsroute to JavaScript; TypeScript chosen via Set Language now highlights and appears infresh --cmd grammar list. -
Plugin API: Virtual lines accept theme keys for
fg/bgand follow theme changes live. Plugin modes can inherit Normal-mode bindings instead of redeclaring motions. Themouse_clickhook payload now carries buffer coordinates.
-
Fixed scrolling in heavily wrapped buffers (#1574): Up/Down no longer drifts the viewport one row per keystroke, and mouse-wheel scroll in Page View on long markdown lists now reaches EOF reliably.
-
Fixed multi-byte / grapheme handling in the view pipeline: fullwidth and CJK text, ZWJ emoji families (
👨👩👧👦), and long combining-mark clusters now render, advance by cursor, and participate in Home/End as a single unit (#1577). Note: different terminals handle ZWJ differently, I recommend ghostty if you need these characters for some reason... -
Fixed
Format Bufferhanging on formatters that emit more than ~64KB — stdout / stderr are now drained concurrently with the write (#1573). -
Fixed arrow keys with an active selection (#1566): Left/Right now collapse to the selection's start/end edge (matching VSCode, Sublime, IntelliJ); Up/Down start from the appropriate edge.
-
Fixed
Shift+Backspacenow behaves like Backspace (previously silently dropped on many terminals) (#1588). -
Fixed session-restored folds landing on unrelated lines after external edits — they now relocate by header text or are dropped (#1568).
-
Fixed project-wide Search & Replace: replace is now undoable with a confirm prompt, repeated
Alt+Enterno longer corrupts files, the file-watch mtime is refreshed after save, and the 100% CPU hang on large-repo scans is fixed (#1575). -
Fixed 100% CPU when a fold hid thousands of lines — fold-indicator detection no longer scans the whole buffer per visible row.
-
Fixed plugin-panel buffers (audit mode, git log, review diff): cursor positions preserved across tab switches, clicks on scrollable panels register,
qcloses the group from any panel, and the active tab in an inactive split is now visible under the high-contrast theme. -
Fixed cursor being able to land on plugin-virtual rows (markdown table borders, gutters) when moving up/down.
-
Windows-1251 Encoding: Added support for Windows-1251 (Cyrillic) encoding for loading and saving Cyrillic-script text files (#1453). Available in the encoding selector; auto-detected for text mixing uppercase and lowercase Cyrillic letters.
-
Theme Editor and Package Manager: Multi-panel plugin UIs now behave like native splits — per-panel mouse-wheel scrolling and scrollbars, draggable panel dividers, and the theme editor's own colors now use the active theme.
-
File Finder in Command Palette (Ctrl+P): Much faster and more responsive on large local and remote trees — file enumeration runs in the background with results streaming in as they're found, typing a path like
etc/hostsproduces instant filesystem-confirmed matches, and ranking now reliably prefers contiguous matches (resultsfindsresults.jsonfirst) including multi-term queries that reconstruct a path or identifier (etc hosts→/etc/hosts,save file→save_file.rs). -
Review Diff: Brought back features that were dropped in the rewrite in version 0.2.22: stage, unstage, and discard individual hunks; jump between hunks with
n/p; leave line comments (c) and overall session notes (N), edit or delete them with confirmation, see notes in the file list panel, and export your review notes to a markdown file. Redesigned toolbar of styled key hints that adapts to the focused panel. -
Keybinding Editor: Special keys like Esc, Tab, and Enter can now be bound — press Enter on the key field to enter capture mode, then the next keypress is recorded as-is (#1501). Fixed parent modal to be dimmed while a sub-dialog is open.
-
Customizable Status Bar: The left and right sides of the status bar are now configurable via the Settings UI using a new DualList picker (transfer items between Available/Included columns, reorder with arrows). Includes a new
{clock}element that displays HH:MM with a blinking colon. Thanks @1612elphi! -
LSP Status Bar Indicator: Simplified to a single color-coded "LSP" label — clicking LSP in the status bar now opens an interactive popup with per-server status and actions (restart, stop, view log).
-
Universal LSP Servers: LSP servers configured for all languages are now spawned once per project instead of once per opened language, eliminating duplicate processes.
-
Regression - Fixed multi-byte UTF-8 characters not being parsed correctly in the input handler, and IME-composed characters delivered as key-up events being ignored on Windows (#1538). Thanks @wellorbetter! Reported by @AugustusZane.
-
Fixed blank panels appearing after terminal resize.
-
Fixed terminal mode not being exited when the active buffer is switched to a non-terminal.
-
Fixed Review Diff hunk navigation (
n/p) not working in the diff panel, files panel not receiving focus on launch, hunk-level comments not displaying (#1503), and deleted-file drill-down crashing. -
Fixed Settings UI section headers being invisible in the high-contrast theme.
-
Fixed word wrap producing single-character-per-line output on narrow terminals with deeply indented code — the hanging indent was being double-counted (#1502).
-
Fixed LSP completion popup showing duplicate entries when reopened (#1514).
-
Fixed LSP
auto_startbeing ignored on a per-server basis when multiple servers are configured for one language — opening a file no longer drags in every enabled server, only those individually markedauto_start. -
Fixed mouse input issue - mouse state not being restored in the terminal - after leaving Fresh (Windows only, #1530).
-
Review Diff Rewrite: The review diff view has been rewritten with a magit-style split-panel UI. The left panel lists files grouped by staged/unstaged/untracked sections (sorted by category), and the right panel shows the diff for the selected file. Navigate with arrow keys, switch focus between panels with Tab, and drill down into individual files. Hunk navigation jumps between changes with auto-centering. Untracked and newly added files are now shown correctly. Diff colors are now theme-aware with per-theme highlight overrides.
-
Remote Mode: SSH connections now auto-reconnect in the background with a disconnected indicator in the status bar. Filesystem operations no longer block the event loop. File explorer roots at the provided remote path instead of the home directory. File finder (Ctrl+P) works on remote filesystems. Error messages are cleaner — hints about SSH installation, and a "Connecting via SSH to ..." message on startup.
-
Create Directories on Save: When saving a file to a path where the parent directory doesn't exist, Fresh now prompts to create the directory instead of failing (#1434).
-
Grammar Short Name Aliases: Grammars can now be referenced by short names (e.g.,
"bash"instead of"Bourne Again Shell (bash)") in config and the Set Language popup. Packages can declare ashortNamein their grammar definition. -
Default Language Setting: The
default_languagesetting replaces the previousfallbackobject. Set it to a language key (e.g.,"bash") so unrecognized file types use that language's full configuration (#1219). -
AutoHotkey Syntax Highlighting: Built-in grammar for
.ahkand.ahk2files with v1/v2 command coverage. -
Settings UI: Added inherit/unset support for nullable settings with an Inherit button and inherited badge. The Delete key now unsets a setting override.
-
Theme Selector: Installed theme packages now appear correctly even when multiple themes share the same name. The selector strips URL schemes and sizes the name column to content.
-
File Finder (Ctrl+P): Fixed showing no files on Windows when git isn't being used.
-
Selection Prompts: Pre-filled text is now selected so typing immediately replaces it.
-
Theme Fixes: Fixed low contrast in Nord, Solarized Dark, Light, and Dracula themes. Fixed command palette selected row using wrong foreground color. Syntax highlighting colors are now preserved in text selections.
-
Fixed out-of-memory crash caused by an infinite loop in the line-wrapping transform when indentation exceeds half the available width (#1454).
-
Fixed
didOpennotification only being sent to the first LSP server when multiple are configured for a language. -
Fixed status bar line number not updating when stepping through search matches with F3.
-
Fixed
.bash_profileappearing read-only when symlinked to a macOS library path (#1469). -
Fixed session
open-filecommand failing when a session exists but its name doesn't match the socket. -
Fixed scrollbar track hover highlighting more than the hovered cell.
-
Fixed self-update URL pattern not matching all release URLs.
-
Fast Completions without LSP: New basic completions providers without language server — buffer-word candidates appear below LSP results in the popup. Also, a new setting (config) controls auto-trigger vs explicit Ctrl+Space (default: explicit). Enter dismisses the popup (Tab accepts). I plan to further improve it (make it more intelligent) in future releases.
-
Current Line Highlighting: Highlights the cursor line. Enabled by default, togglable from the command palette and Settings UI (caveat: wrapped lines are currently highlighted in their entirety, this should probably be changed to visual lines).
-
LSP Code Actions: Code action modal now actually works! Select an action by number or up/down arrows and enter (#1405). Supports resolve, execute command, and server-initiated workspace edits (previously dropped silently). File create/rename/delete operations handled. Actions from multiple servers unified into one popup. Default keybinding changed to Alt+. - because Ctrl+. is filtered by many terminals.
-
LSP Completion Resolve and Formatting: Auto-imports applied on completion accept. Format Buffer falls back to LSP when no external formatter is configured. Also adds range formatting and pre-rename validation.
-
LSP Server Selection for Restart/Stop: Popup to choose which server to restart/stop individually, or all at once.
-
Grammar Listing:
fresh --cmd grammar listandeditor.listGrammars()plugin API show all available grammars with source and extensions. When specifying a grammar in alanguagesentry in the config, you must currently use a full name from this list - for example "Bourne Again Shell (bash)" rather than "bash". This will be improved once I add grammar aliases.
-
Theme Contrast: Replaced all named ANSI colors with explicit RGB in built-in themes for deterministic rendering. Improved contrast ratios across both high-contrast and light themes. Diagnostic and semantic overlays now re-apply correctly on theme change, including during live preview.
-
Git Status Marker Refresh: File explorer markers update on terminal focus gain and by polling for git index changes (#1431).
-
Config-Only Languages: Custom languages without a built-in grammar (e.g., "fish") appear in the Set Language popup and are detected correctly — no more fallthrough to wrong built-in grammars.
-
Theme Inspector: Records exact theme keys during rendering instead of reverse-mapping via heuristics. Theme editor Save As improved for built-in themes.
-
LSP Reliability: Diagnostics cleared on server stop/crash, buffers re-opened on server start, document version checking for workspace edits, LSP notified after undo/redo of bulk edits, pending requests drained on server death to prevent deadlocks, hover suppressed while popups are visible.
22 bug fixes: C/D/S/cc, e motion, nG, h/l line clamping, ^, $, J with space, f/t special chars, r replace, ~ toggle case, visual mode entry/switching, count display. Key motions moved from async plugin commands to native Rust actions, eliminating race conditions.
If you use the Vim plugin please drop a note at #417 - I need feedback on this feature.
-
Fixed Ctrl+W panic on accented/multi-byte characters (#1332).
-
Fixed LSP diagnostics from stopped servers reappearing from queued messages.
-
Multi-LSP Server Support: Configure multiple LSP servers per language (e.g., pylsp + pyright for Python). Servers are routed by feature using
only_features/except_featuresfilters, completions are merged from all eligible servers, and diagnostics are tracked per-server. Per-server status is shown in the status bar (#971). -
Per-Language Editor Settings:
line_wrap,wrap_column,page_view, andpage_widthcan now be configured per-language. For example, wrap Markdown at 80 columns while keeping code unwrapped (#1371). -
Diff Chunk Navigation Plugin: New built-in plugin for navigating between diff chunks, merging git and saved-diff sources.
-
Faster Startup (~350ms → ~170ms): Syntax grammars are pre-compiled at build time, package loading moved from JavaScript to Rust, plugin I/O and transpilation run in parallel, and redundant grammar rebuilds are eliminated. Plugins can now declare dependencies via
import typefrom"fresh:plugin/..."and are topologically sorted. -
Settings UI Overhaul: Modernized visual design with wider modal (160 cols), rounded corner borders, Nerd Font category icons, styled
[✓]toggles, and reverse-video key hints. Keyboard navigation rewritten: Tab cycles sequentially through all fields and buttons, composite controls (Map, ObjectArray, TextList) support internal navigation, entry dialogs have section headers with explicit field ordering, PageDown/PageUp work in the main panel, and TextList edits auto-accept on navigation. Focus indicator now highlights per-row in composite controls. -
Settings Deep Search: Also in the Settings UI: Search now walks into Map entries, TextList items, and nested JSON values. Searching "python" finds the "python" key in language/LSP maps. Results show hierarchical breadcrumbs (e.g., "Languages > python") and auto-focus the matching entry.
-
Per-Language Workspace Root Detection: New
root_markersfield on LSP server configs. The editor walks upward from the file's directory looking for configured markers (e.g.,Cargo.toml,package.json), replacing the old cwd-based root (#1360). -
Page View Mode: "Compose" mode renamed to "Page View". Can now auto-activate per language via
page_view: truein language config. Old keybinding names continue to work. -
256-Color Contrast Enforcement: When running in a 256-color terminal, foreground colors are automatically adjusted to meet WCAG 3.0:1 minimum contrast ratio against their background. Fixes illegible text in Solarized Dark, Nord, Dracula, and light themes under tmux without truecolor.
-
LSP in Library Files: Files in library paths (site-packages, node_modules, .cargo) now keep LSP enabled for Goto Definition, Hover, and Find References while remaining read-only (#1344).
-
Goto Matching Bracket: Works inside bracket bodies by searching backward for the nearest enclosing bracket, matching VS Code and JetBrains behavior. All bracket searches are bounded to prevent hangs on huge files (#1258).
-
LSP Head-of-Line Blocking Fix: LSP notifications (didClose, didChange, shutdown) are no longer blocked behind pending request responses.
-
New Settings:
show_tildeto hide EOF tilde markers (#1290),menu_bar_mnemonicsto disable Alt+key menu shortcuts (#1257). -
getPluginDir()Plugin API: Plugins can now locate their own package directory to find bundled scripts or install local dependencies.
-
Fixed CSI u and xterm modifyOtherKeys key sequences inserted as literal text in terminal session mode (#1113).
-
Fixed word selection (Ctrl+W) stopping at accented/Unicode characters (#1332).
-
Fixed double-click backward drag losing the initial word selection (#1334).
-
Fixed block cursor invisible in zellij due to double cursor-inversion (#1338).
-
Fixed cursor visibility and command palette rendering in zellij (#1255).
-
Fixed undo incorrectly clearing the modified flag after hot exit recovery, which could cause data loss.
-
Fixed bulk edit (e.g., toggle comment) displacing inlay hints on subsequent lines (#1263). Displaced markers are now restored to exact positions on undo.
-
Fixed large file syntax highlighting lost when revisiting a file, caused by checkpoint offset drift during partial cache updates.
-
Fixed embedded language highlighting (e.g., CSS in HTML) breaking at large file offsets.
-
Fixed Enter key leaking into the markdown buffer when the file explorer panel is focused.
-
Fixed large file recovery saving the entire file as individual chunks instead of using the recovery format.
-
Fixed read-only detection for files not owned by the current user (now checks effective uid/gid instead of file mode bits).
-
Bracketed Paste on Windows & Input Overhaul: Bracketed paste now works on Windows Terminal (reverted in v0.2.17 due to #1284), and keyboard issues are resolved (#1054). Mouse hover is disabled by default on Windows because reliable bracketed paste requires cell-motion tracking; enabling hover switches to all-motion tracking which can insert corrupt text under heavy mouse movement or slow CPU. Re-enable it in Settings UI under Editor → Mouse Hover Enabled. Under the hood, crossterm's Windows input handling is replaced with a new
fresh-wintermcrate using direct VT input reads, with corrupt mouse sequence detection, UTF-16 surrogate handling, and console mode heartbeat to counteract ConPTY drift. -
30 New Syntax Grammars: Dockerfile, CMake, INI, SCSS, LESS, PowerShell, Kotlin, Swift, Dart, Elixir, F#, Nix, Terraform/HCL, Protobuf, GraphQL, Julia, Nim, Gleam, V, Solidity, KDL, Nushell, Starlark, Justfile, Earthfile, Go Module, Vue, Svelte, Astro, Hyprlang (#1266). These grammars are preliminary — please report highlighting issues for your language so we can improve them.
-
Broad LSP Support: Added LSP configs and helper plugins (with install instructions) for Nix, Kotlin, Swift, Scala, Elixir, Erlang, Haskell, OCaml, Clojure, R, Julia, Perl, Nim, Gleam, F#, Dart (#1252), Nushell (#1031), Solidity (#857), Vue, Svelte, Astro, Tailwind CSS, Terraform/HCL, CMake, Protobuf, GraphQL, SQL, Bash, Lua, Ruby, PHP, YAML, TOML, and Typst. LSP integration for these languages is early-stage — feedback from users of these languages is welcome.
-
Deno LSP Auto-Detection: Automatically detects and uses the Deno language server for JS/TS projects (#1191).
-
show_prompt_lineSetting: New config option to auto-hide the prompt line. Applied immediately from Settings UI (#1273). -
use_tabsSetting: Globaleditor.use_tabsconfig option for default tab indentation (#1295).
-
Plugin Commands in Keybinding Editor: Plugin-registered commands are now shown and searchable in the keybinding editor.
-
Theme Editor ANSI Colors: Named ANSI colors display as "terminal native" instead of misleading RGB values, with correct native color swatches (#1301).
-
Status Bar Language Info: Shows "[syntax only]" when a language has no LSP config entry.
-
Default Language: Set
default_languageto a language key (e.g.,"bash") so undetected file types use that language's full configuration (#1219). Replaces the previousfallbackobject; the old key is still accepted for backwards compatibility. -
File Deletion Uses Trash:
removePathnow uses the system trash instead of permanent deletion. -
Package Manager Cross-Platform: Plugin package manager uses cross-platform APIs instead of Unix-specific commands on Windows (#1215).
-
Fixed arrow keys not working in
less/git login the embedded terminal, includingTERMenv var not being set on Unix. -
Fixed Tab key getting trapped in TextList editing mode in Settings UI.
-
Fixed
{,},;highlighted as operators instead of punctuation in C/C++ (#1318, #1319). -
Fixed auto-dedent for languages without tree-sitter, e.g. Dart.
-
Fixed auto-indent after closing brace in nested C++ blocks.
-
Fixed mouse click selecting wrong item in scrolled settings list.
-
Fixed keybindings for plugin-registered commands not executing (#1312).
-
Fixed Find Next/Find Previous ignoring cursor position (#1305).
-
Fixed Tab indent affecting lines outside selection (#1304).
-
Fixed Shift+letter keybinding deletion not persisting (#1303).
-
Fixed word selection not preserved when dragging after double-click (#1202, #1317).
-
Fixed
removePathfailing on Windows due to UNC path mismatch. -
Fixed external files missing from tab bar after session restore.
-
Fixed scroll wheel targeting focused split instead of split under pointer (#1270).
-
Fixed wrap indent not working with tab indentation (#1283).
-
Fixed LSP "no server configured" for Kotlin and 30+ other languages.
-
Fixed Diff syntax highlighting scope-to-category mappings.
-
Fixed extension mappings for
.cjs,.mjs,.mts,.cts,Jenkinsfile,Brewfile. -
Fixed LSP initialization timeout too short (increased from 10s to 60s).
-
Added syntax highlighting validation suite with 93 fixture files and e2e tests.
-
Added e2e tests for Settings UI, keybinding editor, search/replace, and plugin commands.
-
Fixed multiple flaky e2e tests (search/replace, plugin uninstall, Settings UI).
-
Removed redundant
SIGUSR1handler; relies on harness signal handler for backtraces. -
Cleaned up completed design docs.
- Reverted Windows Bracketed Paste Fix: Reverted the bracketed paste fix for Windows Terminal (#1218) as it broke mouse input (#1284). The fix enabled
ENABLE_VIRTUAL_TERMINAL_INPUTwhich interfered with mouse event handling.
-
Project-Wide Search & Replace: Search and replace across the entire project. Works reliably with unsaved buffers, large files, and up to 10,000 results. Alt+Enter to replace in project.
-
Hot Exit: All buffers — including unnamed scratch buffers — persist across sessions automatically. Configurable via
hot_exitsetting (#1148, #1233). -
Workspace Storage: Session state always restored on startup, even when opening specific files from CLI. Plugin state also persists across sessions.
-
Keybinding Editor: Collapsible section headers and plugin mode bindings shown as first-class entries.
-
Markdown Compose Mode: Easier to discover via global toggle and searchable command palette entries.
-
Tab Naming: Duplicate tab names are disambiguated with appended numbers.
-
View...Keybinding Style: Menu Checkboxes: Submenu items now show checkbox indicators for toggled settings.
-
Fixed crash when workspace references deleted files (#1278).
-
Fixed CapsLock breaking keyboard shortcuts like Ctrl+A, Ctrl+C, etc.
-
Fixed bracketed paste not working on Windows Terminal.
-
Fixed clipboard not working in client-server session mode.
-
Fixed Latin-1 files misdetected as UTF-8 for short files with trailing high bytes.
-
Fixed line number bugs: Delete key not updating status bar (#1261), relative line numbers miscounting (#1262).
-
Fixed C# LSP not working due to language ID mismatch.
-
Fixed remote editing using hardcoded
/tmpinstead of querying the remote system. -
Fixed high memory usage on Windows (#1205).
-
Fixed PageUp/PageDown not working in Theme Editor sidebar.
-
Fixed unbound keys being swallowed in plugin modes.
- Linux: Icons and desktop files added to all packaging methods (deb, rpm, Flatpak, AppImage). Fixed Flatpak AppStream metadata for app stores.
- Keybinding Map Checkboxes: Submenu items in the keybinding map now show checkbox indicators for toggled settings.
- Windows Memory Usage: Fixed high memory usage on Windows caused by buffered input event draining before render (#1205).
-
Inline Diagnostics: Diagnostic text displayed at end of lines, right-aligned, with version-aware staleness dropping. Disabled by default — enable "diagnostics inline text" in the Settings UI (#1175).
-
Hanging Line Wrap: Wrapped continuation lines preserve the indentation of their parent logical line (#1169).
-
Theme Editor Redesign: Virtual scrolling, mouse support, flicker-free inline styling. New "Inspect Theme at Cursor" command and Ctrl+Right-Click theme info popup.
-
Open File Jump:
path:line[:col]syntax in Open File prompt and Quick Open (#1081, #1149).
-
Plugin API:
registerHandler()replacingglobalThispattern,restartLspForLanguage, process-limits forregisterLspServer, asyncreloadGrammars(). Strict TypeScript across all plugins. -
Load Plugin from Buffer: Run and hot-reload plugins directly from an open buffer, with LSP support for plugin dev buffers.
-
Status Bar Toggle: Command palette command and config option to show/hide the status bar.
-
LSP Environment Variables: Pass environment variables to LSP server binaries via config (#1159).
-
LSP Language ID Overrides: Configurable
language_id_overridesin LSP server config. -
Rust LSP Mode Switching: Command palette action to switch between Full and Reduced Memory modes for rust-analyzer.
-
Signature Help Rendering: Markdown rendering for signature help popups with hanging indent and paragraph spacing.
-
Non-Blocking Grammar Builds:
SyntaxSet::build()moved to a background thread. Buffered input events drained before render for CPU-constrained responsiveness. -
Disabled LSP start/restart commands for languages without LSP config (#1168).
-
LSP Bracket Paths: Fixed LSP failing for file paths containing
[or](#953). -
Search F3 Navigation: Fixed F3 losing matches after viewport scroll (#1155).
-
Settings JSON Copy: Fixed Ctrl+C not working in settings JSON editor (#1159).
-
Line Numbers on New Files: Fixed line numbers showing when disabled in settings for newly opened files (#1181).
-
Client/Server Paste: Fixed bracketed paste mode and terminal feature parity in client/server sessions (#1168).
-
Popup Selection: Fixed popup text selection copying wrong text when lines wrap (#1170).
-
Suggestions Popup Border: Fixed bottom border overwritten by status bar (#1174).
-
TSX/JSX Language ID: Fixed wrong
languageIdsent to LSP for TSX/JSX files (#1174). -
LSP Error Suppression: Suppress ContentModified/ServerCancelled errors per LSP spec instead of logging as errors.
-
Semantic Tokens: Skip degraded semantic token responses to preserve syntax highlighting.
-
Theme Save: Fixed save failing when themes directory doesn't exist (#1180). Fixed saving incomplete theme files.
-
LSP Completion: Fixed completion debounce, cleanup-on-disable, and popup positioning issues.
-
Auto-Close Config: Separate
auto_closetoggle (default: true) to independently control bracket/quote auto-close, skip-over, and pair deletion — previously coupled toauto_indent. Per-language overrides vialanguages.<lang>.auto_close(#1144). -
Surround Selection: Typing an opening delimiter with a selection wraps it instead of replacing it (e.g. selecting
helloand typing(produces(hello)). Controlled byauto_surroundconfig with per-language overrides. -
Smart Quote Suppression: Quotes typed inside an existing string no longer auto-close, preventing unwanted doubled quotes (#1142).
-
Read-Only Mode: Files without write permission and library/toolchain paths (rustup, /usr/include, /nix/store, Homebrew Cellar, .nuget, Xcode SDKs) automatically open as read-only. New "Toggle Read Only" command to override. Status bar shows
[RO]indicator.
-
Multi-Cursor Enter: Fixed Enter key in markdown mode only inserting a newline at the last cursor, ignoring secondary cursors. Falls back to built-in insert_newline when multiple cursors are active (#1140).
-
Multi-Cursor Position Drift: Fixed cursors with no events during bulk edits (e.g. Delete at end of buffer) drifting to stale positions. Uses saturating arithmetic to prevent overflow with overlapping selections (#1140).
- Log Noise Reduction: Disabled span close events (~90% of log volume) by default and moved 12 high-frequency log sites to trace level. Typical log size reduced from ~266MB to ~5-10MB. Set
FRESH_LOG_SPANS=1to re-enable (#1154).
- Added multi-cursor shadow model property-based tests with random operation sequences across 2-3 cursors.
- Added e2e regression tests for multi-cursor Enter with auto_indent, Ctrl+D selection, tree-sitter, and markdown grammar.
-
Whitespace Indicators: Granular control over whitespace visibility — configure space (·) and tab (→) indicators independently for leading, inner, and trailing positions. Master toggle, per-language overrides, and a new
whitespace_indicator_fgtheme color. -
Indent-Based Code Folding: Code folding now works in large file mode and for files without LSP folding ranges, using indentation analysis as a fallback. Fold from any line within a block (not just the header). Unified byte-offset pipeline for consistent gutter indicators.
-
Session Open-File Enhancements:
--waitflag blocks the CLI until the user dismisses a popup or closes the buffer — enables use asgit core.editor. Range selection syntax (file:L-EL,file:L:C-EL:EC) and hover messages (file:L@"markdown msg") for annotated file opening. Auto-attaches a client whenopen-filestarts a new session. -
GUI: macOS Native Integration (experimental): Native menu bar with dynamic when/checkbox conditions, Cmd keybindings (
macos-guikeymap), app icon, and.appbundle resources. Menu tracking detection prevents state mutations from causing menu jumps. -
Platform Icons: Application icons for Windows
.exe, Linux.deb/.rpmpackages, and macOS app bundles.
-
Bracket Highlight Hanging on Large Files: Bracket matching now caps scanning at 1MB and uses 16KB bulk reads instead of byte-at-a-time, preventing hangs on large files.
-
Markdown Plugin Activation: Plugin now activates based on buffer language (not just file extension), fixing cases where
Set Languageto markdown didn't enable smart editing (#1117). Reverse bullet cycling on Shift+Tab now works correctly (#1116). -
Settings UI: Fixed Save button mouse click not closing the dialog. Fixed Reset button not showing confirmation dialog. Fixed Discard dialog persisting on reopen.
-
Active Tab Styling Bleed: Fixed active tab border color bleeding through dropdown menus.
-
Cursor Corruption on Tab Click: Fixed hardware cursor appearing at wrong position when clicking a tab in an inactive split.
-
Comment Delimiter Colors: Fixed comment delimiter characters (e.g.
//) using the wrong color in syntax highlighting. -
Scroll Events Routing: Fixed mouse scroll events going to the file explorer panel regardless of mouse position.
-
File Explorer Border: Fixed hover/drag bugs on the file explorer resize border.
-
Windows Named Pipe Crash: Fixed crash in
Server::handle_new_connectionon Windows. -
Bar/Underline Cursor Invisible: Fixed bar and underline cursor styles being invisible on characters due to REVERSED modifier creating a block-like highlight (#851).
-
Wrapped Line Viewport Scroll: Fixed viewport scroll limit counting logical lines instead of visual rows, causing erratic scrolling, skipped wrapped rows, and stuck End key with line wrap enabled (#1147).
-
Search on Large Files: Fixed multi-GB memory consumption, O(N²) offset accumulation, and search scan never completing when capped at max matches. Chunked incremental search, viewport-only overlays, and 100K match cap (#1146).
-
macOS Menu Hover Jump: Fixed menu bar jumping to leftmost menu during hover by using
WaitUntilinstead ofPolland caching menu item states.
- Status log and warning log buffers are now read-only.
- Replaced
buffer_modifiedJS plugin with native Rust diff indicators, eliminating JS↔Rust round-trips on every edit/scroll.
- Folding system refactored to use byte offsets instead of line numbers for gutter indicators, fixing consistency issues in large file mode.
- Unified fold indicator pipeline shared between LSP-based and indent-based folding.
- Fixed Nix build: include PNG files in source filter for GUI icon resources.
-
Code Folding: Fold/unfold code blocks via LSP foldingRange. Per-view fold state, gutter indicators for collapsed ranges, fold-aware scrolling. Toggle via command palette ("Toggle Fold") (#900). Thanks @asukaminato0721 !
-
Large File Line Numbers: Large files show byte offsets in gutter/status bar until scanned. On-demand parallel line index scanning (via Ctrl+G prompt or "Scan Line Index" command) gives exact line numbers with progress indicator. Remote scanning counts newlines server-side without data transfer.
-
Markdown Source Editing: New plugin for smart Markdown source-mode editing — auto-continues list items on Enter (bullets, ordered lists, checkboxes), removes empty markers, Tab indents + cycles bullet style (#1095).
-
GUI mode - can run without terminal (highly experimental): GPU-accelerated windowed mode via winit + wgpu. Build with
--features guiand run with--guito try it.
-
Smart Backspace Dedent: Backspace in leading whitespace removes one indent unit (tab_size spaces or 1 tab) instead of a single character.
-
Diagnostics Panel: Up/Down now scrolls the editor to preview diagnostic location. Enter jumps and focuses the editor.
-
Glob Patterns in Language Config:
filenamesfield now supports glob patterns (*.conf,*rc,/etc/**/rc.*) for extensionless file detection (#1083). -
Disabled single-quote auto-close in Markdown files (interferes with apostrophes).
-
Auto-Indent: Fixed
tab_sizesetting ignored for auto-indent; fixed indent level lost on normal statement lines; fixed Go auto-dedent using spaces instead of tabs (#1068); fixed Python nested indent after consecutive:lines (#1069). -
File Explorer Dotfiles: Fixed dotfiles always visible regardless of "Show hidden files" toggle. Config
show_hidden/show_gitignorednow applied on init (#1079). -
LSP Toggle Desync: Fixed state corruption when toggling LSP off/on — now sends
didCloseso re-enable gets freshdidOpen(#952). -
LSP Client Capabilities: Now advertises all supported capabilities including
publishDiagnostics, enabling diagnostics from strict servers like pyright (#1006). -
LSP Status Indicator: Fixed status bar indicator disappearing after each request completion (#952).
-
Set Language: Fixed command storing display name instead of canonical ID, breaking LSP config lookups (#1078).
-
Escape Sequences in Client Mode: Fixed mouse codes, Shift+Tab, and standalone ESC not working in
fresh -aattach mode (#1089). -
Client Mode Terminal Reset: Fixed terminal not fully restored on exit in client mode (#1089).
-
Ctrl+End with Line Wrap: Fixed viewport not scrolling to trailing empty line; fixed Down arrow not reaching it (#992).
-
Diagnostics Panel Windows Paths: Fixed file URIs not decoded properly on Windows (#1071).
-
Debug Keyboard Dialog: Fixed not capturing keys in client/server mode (#1089).
- Replaced linear span lookups in syntax highlighting with O(1) amortized cursor.
- Eliminated JSON round-trip and JS re-parsing in plugin hook dispatch (~16% CPU reduction).
- Path-copying PieceTree mutations with structural diff via
Arc::ptr_eq— O(edit regions) instead of O(all leaves). - Viewport-aware filtering and batch API for large file gutter indicators (~780K IPC commands → ~50 per edit).
- Update flake.nix to rust 1.92.0
- Split GUI backend into separate
fresh-guicrate. - Unified language detection with
DetectedLanguagestruct and singleapply_language()mutation point. - CI now runs clippy with
--all-featuresto lint GUI code.
-
Persistent Auto-Save: New
auto_save_enabledconfig option (default: false) to automatically save modified buffers to their original file at a configurable interval (auto_save_interval_secs, default: 30s) (#542) -
Smart Home: Home key now uses smart home behavior by default, toggling between the first non-whitespace character and column 0. On soft-wrapped lines, smart home respects visual line boundaries instead of jumping to the physical line start (#1064).
-
Diff View Scrollbar: Fixed scrollbar click-to-jump and thumb drag not working in side-by-side diff views. Composite buffer views now use row-based scrolling via CompositeViewState.
-
Terminal Bracket Paste: Fixed pasted text going into the editor buffer instead of the terminal PTY when in terminal mode (#1056).
-
LSP did_open Reliability: Fixed buffer being incorrectly marked as LSP-opened when the did_open send fails, which prevented retry and could corrupt server document state.
-
Remote Editing Data Loss: Fixed intermittent data loss when loading large files via SSH remote editing on macOS. The bounded channel now uses backpressure instead of silently dropping data when the buffer overflows (#1059).
- Renamed
auto_save_interval_secs(recovery) toauto_recovery_save_interval_secsto distinguish it from the new persistent auto-save feature. Addedauto_recovery_save_interval_secsconfig option (default: 2s).
- Introduced typed
LeafIdandContainerIdwrappers aroundSplitIdto enforce leaf-vs-container constraints at compile time. - Enabled
#![deny(clippy::let_underscore_must_use)]crate-wide; all ignoredResultvalues now have explicit annotations or proper error handling. - Made
request_completionandrequest_signature_helpinfallible, removing deadResultreturn types. - Added CONTRIBUTING.md with development guidelines.
-
Markdown Compose Mode: Distraction-free writing mode with concealed markup, soft breaks, table rendering, and mouse support. Split-view allows editing source and rendered markdown side-by-side with synchronized scrolling.
-
Vertical Rulers: Configurable column rulers with add/remove commands via command palette. Per-buffer state and Settings UI JSON editor support (#1028).
-
Horizontal Scrollbar: New horizontal scrollbar with drag support and toggle commands (#972).
-
Smooth Scrolling: Cursor movement now scrolls one line at a time instead of jumping/recentering the viewport (#1040).
-
Macro Keybinding: F4 shortcut for Play Last Macro. Removed Ctrl+0-9 and Alt+Shift+0-9 macro keybindings (#700).
-
Configurable Clipboard: New
clipboardconfig withuse_osc52anduse_system_clipboardtoggles to prevent hangs in certain terminals (#964). Useful for Putty and other terminals that sometimes cause Fresh to hang on OSC 52. -
Scrollbar Visibility: New
show_vertical_scrollbarandshow_horizontal_scrollbarconfig options (#974). -
Package Manager: Reinstall support for local-path packages.
-
File Explorer Persistence: Show hidden and show gitignored toggles now persist to config immediately (#569).
-
Macro correctness: Replaying a macro now respects the exact same effect as interactive flow.
-
Cursor Navigation: Cursor up/down now lands at end-of-line when goal column is past content (#514).
-
Line Numbers: Fixed line numbers leaking between splits due to shared margins state. Line numbers now live exclusively in per-split BufferViewState.
-
Plugin API v2: Versioned plugin API with
createTerminal,sendTerminalInput,closeTerminal,getAllCursors, and plugin state API. Improved type declarations infresh.d.ts(#1045). -
Split Labels: Splits can be labeled to prevent files opening in managed splits. Labels persist across save/restore. New
beforeoption to place buffers left/top.
- Refactored per-buffer view state: cursors owned by SplitViewState, ComposeState extracted from EditorState.
- Conceal ranges, soft breaks, and overlay filtering by view_mode at render time.
- Plugin state snapshot reports active split's view_mode and compose flag.
- i18n updates for vertical rulers and macro shortcuts across all locales.
- PieceTree Performance: Use binary search instead of linear scan in line lookup.
-
Undo Corruption After Save: Fixed undo corrupting text after a bulk edit (e.g. multi-cursor or replace-all) followed by save. Piece tree buffers are now restored alongside the tree during undo.
-
Theme Not Found After Restart: Fixed theme reverting to default when the JSON
namefield differs from the filename (#1001). -
AltGr+Shift Input on Windows: Fixed AltGr+Shift key combinations not being recognized as text input (#993).
-
Winget Manifest: Fixed
UpgradeBehaviorindentation causing schema validation failure in winget publishing.
- Added shadow model undo/redo property-based tests for increased piece tree correctness confidence.
- Added blog showcase system with animated GIF demos for the documentation site.
-
Regex Find-and-Replace: Fixed regex mode not working. Added capture group support (
$1,$2,${name}) and a toolbar hint when regex mode is active. -
Keybinding Editor: Fixed actions with no default keybinding missing from the editor; all actions are now listed. Fixed inability to delete built-in keymap bindings. Fixed deleted bindings reappearing after save.
-
LSP Completion Popup: Fixed completion popup blocking typing when not working in non-English locales.
-
Revised in-editor help: Rewrote the in-memory help manual, should be a bit more useful.
- Refactored keybinding editor into multi-file module.
- Locked Cargo.toml dependency versions to minor; docs recommend
--locked. Dependency updates. - ~53 documentation clarity fixes.
-
Experimental Session Persistence: Detach from and reattach to editor sessions with full state preservation. Start with
fresh -a <name>orfresh -a(directory-based), detach via File menu or command palette. Sessions persist across terminal disconnections. Usefresh --cmd session list/kill/attachandfresh --cmd session open-file NAME FILESto manage sessions from the command line. Allows using Fresh across other applications, e.g. yazi edit action triggers a file open in Fresh. -
Keybinding Editor: Full-featured editor for customizing keybindings. Search by text or record key, filter by context/source, add/edit/delete bindings with conflict detection and autocomplete. Try menus: Edit..Keybinding Editor, or command palette. Changes are saved in config.json
-
Line Editing: Move lines up/down and duplicate lines, matching modern editor behavior. Multi-cursor support (@Asuka-Minato).
-
Triple-Click Selection: Triple-click selects entire line (#597).
-
Vietnamese Localization: Full Vietnamese (Tiếng Việt) language support.
-
Typst Language Support: Syntax highlighting and tinymist LSP configuration for
.typfiles (#944). -
LSP Improvements:
- Per-buffer LSP toggle command to enable/disable LSP for individual files
- Default LSP configs for bash, lua, ruby, php, yaml, toml (#946)
-
LSP Document Sync: Fixed document corruption when LSP servers received didChange after didOpen, and when bulk edits (selection replacement, multi-cursor) bypassed LSP notifications.
-
LSP Completion Popup: Fixed popup swallowing non-word characters, arrow keys, and other keys. Popup now dismisses correctly allowing keystrokes to pass through (#931)
-
LSP Diagnostics: Fixed diagnostic gutter markers not appearing on implicit trailing lines with zero-width ranges (clangd-style diagnostics).
-
Line Wrapping: End/Home keys now navigate by visual line when wrapping is enabled, matching VS Code/Notepad behavior (#979).
-
Syntax Highlighting: Fixed highlighting lost when saving files without extension (shebang detection) outside working directory (#978).
-
Buffer Settings: User-configured tab size, indentation, and line numbers now preserved across auto-revert.
-
Terminal Scrollback: Any character key exits scrollback mode instead of just 'q' (#863).
-
32-bit ARM Build: Fixed setrlimit type mismatch on ARMv7l platforms (#957).
- Added C++20 module extensions (.cppm, .ixx) for C++ syntax highlighting (#955).
- Added FreeBSD installation note (@lwhsu).
-
Windows Terminal Support: Full terminal emulation on Windows using ConPTY (Windows 10 1809+). Handles PowerShell DSR cursor queries, prefers PowerShell over cmd.exe, and supports stdin piping (
type file | fresh). -
Text Encoding Support: Detect and convert files in UTF-8, UTF-16 LE/BE, Latin-1, Windows-1252, Windows-1250, GBK, Shift-JIS, EUC-KR, and GB18030. Encoding shown in status bar (clickable to change). "Reload with Encoding..." command in File menu. Confirmation prompt for large files with non-resynchronizable encodings (#488).
-
Encoding Selection in File Browser: Toggle "Detect Encoding" with Alt+E when opening files. When disabled, prompts for manual encoding selection.
-
Bundle Package Type: New package type containing multiple languages, plugins, and themes in a single package. Shown with "B" tag in package manager.
-
Space-Separated Fuzzy Search: Queries with spaces are now split into independent terms, all of which must match. For example, "features groups-view" now matches "/features/groups/groups-view.tsx" (#933).
-
Fixed Escape key not closing the manual and keyboard shortcuts pages (#840).
-
Fixed scrollbar and mouse wheel scrolling not working with line wrap enabled.
-
Fixed scrollbar thumb drag jumping to mouse position instead of following drag movement.
-
Fixed AltGr character input not working on Windows (#762).
-
Fixed custom themes not appearing in "Select Theme" on macOS due to incorrect config path resolution.
-
Fixed LSP servers registered via plugins being disabled by default.
-
Fixed language packs being installed to plugins directory instead of languages directory.
-
Fixed theme changes not persisting when selecting the default theme.
-
Fixed popup positioning not accounting for file explorer width (#898).
-
Fixed LSP did_open sending wrong language for multi-language LSP servers.
-
Fixed manual LSP start not working when LSP config was disabled; settings now sync immediately.
-
Refactored config path handling to pass DirectoryContext via call chain instead of static methods.
-
Added shadow model property-based tests for TextBuffer.
-
Bumped tree-sitter (0.26.5), actions/checkout (v6), actions/upload-pages-artifact (v4) (@dependabot).
-
File Explorer Quick Search: Type to filter files/directories with fuzzy matching. ESC or Backspace clears the search (#892).
-
Sort Lines Command: New command to alphabetically sort selected lines.
-
Paragraph Selection: Ctrl+Shift+Up/Down extends selection to previous/next empty line.
-
Local Package Install: Package manager now supports installing plugins/themes from local file paths (e.g.,
/path/to/package,~/repos/plugin). -
Plugin API: Added
setLineWrapfor plugins to control line wrapping.
-
Fixed data corruption when saving large files with in-place writes.
-
Fixed UI hang when loading shortcuts in Open File dialog (#903).
-
Fixed file explorer failing to open at root path "/" (#902).
-
Fixed Settings UI search results not scrolling properly (#905).
-
Fixed multi-cursor cut operations not batching undo correctly.
- Visual Line Movement: Up/Down arrows now move by visual lines when line wrap is enabled, matching expected behavior in wrapped text.
- Fixed excessive filesystem polling during render, especially on remote filesystems like rclone mounts (#886).
- FreeBSD Release: FreeBSD x86_64 binaries now included in releases (#887).
-
Fixed data corruption issue when saving a large file multiple times (#882)
-
Fixed hidden menus showing up when using left/right arrow keys to move between menus
-
Fixed language pack plugins not being loaded properly in some cases
- New documentation site: @radiorambo contributed a complete restructure and build for a documentation section in the website. Kudos, awesome work!
-
Event Debug Dialog: New diagnostic tool for troubleshooting keyboard and terminal issues. Shows raw key codes and modifiers as they are received, helping diagnose keybinding problems. Access via Command Palette → "Event Debug".
-
File Explorer Keybindings: Reorganized the keys and updated the docs. Ctrl+E now toggles focus between file explorer and editor. Ctrl+B toggles sidebar visibility. Single-click opens files without leaving explorer; double-click or Enter opens and focuses editor (#748).
-
Case Conversion Enhancement: To Upper (Alt+U) and To Lower (Alt+L) now automatically select the current word when no text is selected, matching common editor behavior.
-
Block Selection Copy: Fixed Ctrl+C copying entire lines instead of the rectangular region. Block selection (Alt+Shift+Arrow) now correctly copies only the characters within the column bounds for each line.
-
Block Selection Editing: Block selection now converts to multiple cursors for editing actions (typing, delete, backspace), enabling proper rectangular editing.
-
Dropdown Menu Position: Fixed Help menu dropdown appearing at wrong position when Explorer menu was hidden. Menu position calculation now correctly skips hidden menus.
-
Settings Access: Moved Settings to Edit menu and removed broken Ctrl+, keybinding which doesn't work reliably in terminals. Settings remain accessible via Edit → Settings... and Command Palette.
-
Block Selection Rendering: Fixed double rendering of block selections that could cause visual artifacts.
- Remote Save Optimization: SSH remote editing now uses recipe-based patched saves. For large files with small edits, only the changed portions are transferred instead of the entire file. A 10MB file with a 100-byte edit now transfers ~200 bytes instead of 10MB.
- SSH Remote Editing: Edit files on remote machines via SSH using
fresh user@host:path. Supports password/key auth, sudo save, and file explorer integration.
- Bracket Matching: Highlight matching brackets with rainbow colors based on nesting depth. Configurable via
highlight_matching_bracketsandrainbow_brackets. - Whitespace Cleanup: New
trim_trailing_whitespace_on_saveandensure_final_newline_on_saveoptions, plus manual commands. - Shift+Click Selection: Extend selection to clicked position with Shift+click or Ctrl+click.
- Terminal Mouse Forwarding: Mouse events forwarded to terminal in alternate screen mode (vim, htop, etc.) (#853).
- Tab Bar Scroll Buttons: Click
</>buttons to scroll through tabs. - Library Files Protection: Files outside project root are read-only and have LSP disabled.
- Buffer Focus History: Closing a buffer returns to previously focused buffer instead of adjacent tab.
- Multi-Cursor Cut: Fixed cut not deleting all selections with multiple cursors.
- Tab Scroll: Fixed tab scroll buttons and active tab visibility.
- AUR aarch64: Added aarch64 support for Arch Linux ARM (#856).
- Nix: Switched to
flake.parts, addedshell.nix/default.nixcompatibility (@drupol).
-
Package Manager: Browse, install, and uninstall plugins, themes, and language packs from the official registry. Features search, package validation, background registry sync with local caching, and automatic theme reloading after install.
- Language packs bundle syntax highlighting (
.sublime-syntax), language settings, and LSP server configuration - Filter by package type: Plugins, Themes, Languages
- See fresh-plugins for example packages
- Language packs bundle syntax highlighting (
-
Command Palette (Ctrl+P): Unified prompt for navigating files, commands, buffers, and lines. Use prefix characters to switch modes:
- No prefix: fuzzy file finder
>prefix: commands#prefix: switch open buffers by name:prefix: go to line number
Includes hints line showing available prefixes and Tab completion.
-
Status Message Log: Click status bar messages to view full message history.
-
Package Scaffolding (
--init): Create new plugin, theme, or language pack projects withfresh --init. Interactive wizard generates package.json, entry files, and proper directory structure. -
Theme Schema: JSON Schema for theme validation. Use
scripts/validate-theme.shor any JSON Schema validator.
- Bracket Expansion: Pressing Enter between matching brackets expands them with proper indentation (#629).
- Ctrl+D Word Selection: Ctrl+D selects the entire word when no selection exists.
- Ctrl+Right Word Jump: Ctrl+Right jumps to word end, matching Ctrl+Shift+Right behavior.
- Alt+N/P Search: Search invalidates when cursor moves manually, preventing stale matches.
- Theme Fallback: Falls back to default theme when configured theme is not found.
- Cross-Platform Theme Paths: Theme path handling works correctly on Windows.
- Moved calculator, color-highlighter, todo-highlighter plugins to external repository (installable via package manager).
- Moved catppuccin and xscriptor themes to external repository (installable via package manager).
- Added WASM feature flag for shared editor core modules.
- Italian translation update (#839).
- Status Bar Language Indicator: Click the language name in the status bar to change syntax highlighting. Supports mouse wheel scrolling and type-to-filter.
- VS Code-like Completion UX: Debounced completion triggers, Tab accepts completion, uppercase letters work in type-to-filter.
- Per-Language LSP Root URI: LSP servers can now have per-language root URI detection. Includes automatic C# project root detection via
.csprojfiles. - Settings UI Improvements: Settings organized by topic sections, improved focus colors, search navigates to setting, better Map control navigation.
- Tab Bar Mouse Events: Fixed clicks on tabs not working when menu bar is hidden (#832).
- LSP Deadlock: Fixed deadlock when LSP server sends requests while client is awaiting a response.
- LSP Root URI: Include
root_uriin LSP initialize params for server compatibility. - Terminal Scrollback: Fixed race condition truncating terminal backing file when PTY already wrote content.
- Plugin i18n: Fixed placeholder format to use
%{variable}syntax. - Settings UI: Fixed confirm dialog mouse clicks/Tab navigation, dropdown option selection, search result navigation, and content bleeding into footer.
- Winget: Added Windows Package Manager (winget) publishing to release pipeline.
- FileSystem Trait: New IO abstraction layer enabling different backends (local, remote, WASM). All filesystem operations now use injectable
FileSystemtrait.
- Language Support: Added LSP configurations and syntax highlighting for Zig, Java, LaTeX, Markdown, and Templ.
- Git File Highlighting: Syntax highlighting for git-related files (.gitignore, .gitattributes, .gitmodules).
- Plugin Type Safety: TypeScript type definitions for plugin API with compile-time validation.
- Hover Popup: Fixed scrolling to bottom, dismiss on click outside, block clicks inside popup.
- Settings UI: Fixed overwriting manual config.json edits when saving from Settings UI (#806).
- Windows Terminal: Fixed truecolor detection and 256-color grayscale conversion overflow.
- Composite Buffers: Fixed mouse click sync, deserialization errors, and cursor positioning.
- Plugin Stability: Plugin thread panics now propagate to main thread for proper error handling.
- Review Diff Plugin: Fixed side-by-side diff commands not appearing in command palette.
- Popup Text Selection: Select and copy text from LSP hover popups and tooltips. Click and drag to select, Ctrl+C to copy.
- File Explorer Status Tooltips: Hover over git status indicators (M, U, A) to see detailed explanations and diff stats. Directory tooltips show list of modified files.
- Terminal Background Transparency: New
use_terminal_bgconfig option allows terminal transparency or custom backgrounds to show through the editor (#640). - Vi Mode Improvements: Added
:w filenameto save to path,:wq filenameto save and quit,:q!to force quit without saving. Added Ctrl+P (command palette) and Ctrl+Q (quit) to all vi modes.
- Settings UI Add Button: Fixed "Add New" button not appearing for LSP and Languages maps in Settings UI.
- LSP Hover Markdown: Improved markdown rendering - soft breaks now create newlines (fixing Python docstring formatting), inline code rendered without visible backticks.
- Symlink Directories: Fixed symlinks to directories not showing expand marker and causing "Is a directory" error when opened (#787).
- Live Grep Preview: Fixed preview not updating when navigating through search results (#636).
- Terminal Keyboard State: Fixed arrow keys and Enter not working after exiting the editor due to Kitty keyboard protocol cleanup issue (#773).
- Plugin Commands Visibility: Fixed many plugin commands (Toggle Vi Mode, Git Blame, Diagnostics Panel, etc.) not appearing in command palette.
- File Explorer Layout: Git status indicators moved to rightmost column, matching VS Code's layout. Removed file size and item count for cleaner appearance.
- Quieter Startup: Removed plugin "ready/loaded" status messages that cluttered the status bar on startup.
- Separated I/O from pure types in theme and grammar modules for better testability and future WASM compatibility.
- Fixed workspace crate dependencies for crates.io publishing.
- Improved install.sh reliability for containers and edge cases.
- QuickJS Plugin Runtime: Replaced Deno with QuickJS for the plugin system. Each plugin now runs in its own isolated context.
- Cargo Workspace Architecture: Refactored into modular crates (fresh-core, fresh-editor, fresh-languages, fresh-parser-js, fresh-plugin-runtime, fresh-plugin-api-macros).
- Toggle Comment YAML: Fixed toggle comment not working for YAML files by falling back to config-based language detection (#774).
- Undo History Panic: Fixed panic when undoing past a save point and making new edits caused out-of-bounds slice access (#776).
- Sudo Save Prompt: Fixed permission denied crash when saving files owned by another user; now shows sudo prompt correctly (#775).
- Musl Plugin Support: Plugins now work on musl target builds (x86_64/aarch64-unknown-linux-musl).
- LSP Server Requests: Fixed LSP server-to-client request handling not being dispatched to plugins.
- Git Find File Selection: Fixed race condition causing wrong file selection when pressing Enter quickly.
- Plugin Cache: Embedded plugins now cached in XDG cache dir instead of leaking temp directories.
- Improved compile times via LLVM optimization flag.
- Cross-platform path handling fixes for Windows.
- Test reliability improvements.
- macOS Terminal Tips: Added keyboard enhancement flags configuration guide.
- LSP Semantic Highlighting (@Asuka-Minato).
- macOS Keybinding Display: Native symbols (⌃, ⌥, ⇧) instead of Ctrl+/Alt+/Shift+.
- Odin Language Support: Syntax highlighting (sublime-syntax from @Tetralux) and OLS LSP configuration (@xoxorwr).
- File Explorer Git Indicators: Shows modified/added status for files and folders via new plugin (#526) (@Asuka-Minato).
- Keyboard Enhancement Flags Config: New config options for more granular control over kitty protocol usage (
keyboard_disambiguate_escape_codes,keyboard_report_event_types,keyboard_report_alternate_keys,keyboard_report_all_keys_as_escape_codes).
- Menu Keybinding Display: Consistent keybinding symbols in menus on macOS (#703).
- Git Find File Popup: Smart path truncation preserving filename (#707).
- File Owner Preservation: Preserve owner when saving files with group write privileges (#743).
- Telemetry and update checks now debounce to once per day.
- Terminal mode handling refactored into dedicated module.
- Resolved ~300+ clippy warnings.
- Bumped url (2.5.8), libc (0.2.180) (@dependabot).
- Anonymous Telemetry: Basic anonymous telemetry (version, OS, terminal type) sent with update checks. Disable via
check_for_updatesconfig or--no-upgrade-checkflag. - Toggle Tab Bar/Menu Bar: Hide or show tab bar and menu bar via command palette or View menu (#618).
- Plugin Enable/Disable: New config options to enable or disable individual plugins.
- Improved Settings UI: Layer-aware modified indicators, column headers for Map controls, visual indication for read-only fields in Settings UI entry dialogs.
- Git Grep Preview: Live preview panel with debouncing for Git Grep results.
- Map Control Click: Fixed "Add new" button requiring double-click instead of single click (#604).
- File Explorer Session: Persist
show_hiddenandshow_gitignoredsettings across sessions (#569). - Line Numbers Config: Respect
line_numbersconfig when launching without a file argument (#539). - Find References UX: Now uses prompt mode for consistent search experience.
- i18n Placeholders: Fixed string interpolation format in plugin translations (#706).
- ResultsPanel abstraction with VS Code-style Provider pattern for plugin UI.
- TypeScript type checking for plugins.
- Test reliability improvements for e2e tests.
This is mostly a bugfix release.
- Prompt History: Generic prompt history system with Up/Down navigation, now available for Go to Line and other prompts.
- Session External Files: Files opened from outside the project directory are now restored in sessions.
- Fuzzy Search Exact Match Priority: Open File dialog now prioritizes exact filename matches over fuzzy matches.
- Horizontal Scroll: Fixed cursor position with horizontal scroll after Open File dialog and pressing Enter on long lines.
- Multi-Cursor Bracket Skip: Fixed bracket skip-over with multiple cursors in bulk edit.
- F3 Search: Fixed F3 to allow searching more after editing and to update positions correctly after buffer modifications.
- File Explorer: Removed plain letter shortcuts causing accidental actions, fixed focus after rename/delete, improved new file command behavior.
- Terminal: Fixed scrollback colors, mouse scroll now exits to scrollback mode, fixed viewport position bugs, persist exit message.
- Theme Editor: Fixed reopening after closing the theme editor, allow editing builtin themes (#696), store builtin themes as json instead of hardcoded inside rust.
- LSP Diagnostics: Made diagnostic cache per-buffer to prevent marker position bugs.
- Cursor Visibility: You can see the letter under the block cursor now! Apply REVERSED style to primary cursor for better visibility.
- Open Terminal: Command now available in all contexts.
- Open File Dialog: When run while a terminal is focused, use CWD instead of the internal backing file directory.
- Refactored reference highlighting to use overlay system (#694).
- Built-in themes now loaded from JSON artifacts at build time instead of hardcoded Rust.
- Removed duplicate dead code from LspTask.
- Italian Locale: Full Italian translation support added across the editor and all core plugins (@fdefilippo).
- Interactive Links in Popups: Markdown popups (such as LSP hover) now support clickable hyperlinks (OSC 8). Clicking a link opens it in your default web browser (@Asuka-Minato).
- Sudo Save Fallback: When saving a file fails due to insufficient permissions, the editor now offers to save using
sudo(Linux/macOS) (#301). - Improved Language Features: Improved word navigation, auto-pairs, and multi-cursor behavior.
- LSP Hover Reliability: Fixed multiple issues with hover popups, including race conditions during rapid mouse movement, incorrect positioning on empty lines, and popups triggering past the end of a line.
- Popup Scrollbar Drag: You can now click and drag the scrollbar in popups (like hover and completion) to scroll through long content.
- Inlay Hint Positioning: Corrected inlay hint placement in Rust files to prevent them from shifting line content (#626, @Asuka-Minato).
- Theme Editor Path Resolution: Fixed a bug where the theme editor couldn't find the correct configuration directory on some systems.
- Error Handling: Migrated to
anyhowfor more robust error tracking and backtraces. - Plugin API: Added
editor.getConfigDir()andeditor.getThemesDir()to the plugin API. - Dependency Updates: Bumped
clapto 4.5.54.
- Side-by-Side Diff View: Word-level highlighting, synchronized scrolling, cursor navigation.
- Theme Editor: JSON Schema API, color swatches, command palette integration, delete theme.
- Create Files from Open Dialog: Type non-existent filename to create new buffer.
- Tilde Expansion:
~/pathworks in Save As, Open File, Switch Project.
- Toggle Comment: Use language config for comment prefixes, preserve selection, don't hang (#681).
- Split Close: Close split when closing last buffer instead of empty buffer.
- Terminal: Resume mode on buffer switch, sync content, clean up on close.
- Hidden Buffers: Skip in next/prev buffer, fix tab click targets.
- Plugin i18n completeness tests. Bumped libc, tokio, tree-sitter-lua.
-
Input Calibration Wizard: New wizard to calibrate keyboard input for terminals with broken key sequences. Access via "Calibrate Keyboard" in command palette or View menu. Uses failsafe ASCII-only navigation (#219).
-
Terminal Cursor Color: Cursor color now set via OSC 12 escape sequence for proper visibility across all themes, especially light theme.
-
Dynamic Keybinding Hints: Status messages now show actual keybindings from keymap instead of hardcoded shortcuts (#659).
-
Search in Large Files: Fixed "Buffer not fully loaded" error when searching in large plain text files (#657).
-
LSP Config Preservation: Fixed LSP command field becoming empty when toggling enabled state. Partial config now merges with defaults (#630, #631).
-
Multi-Cursor End of Line: Fixed secondary cursors rendering at line start instead of end (#632).
-
Selection at Cursor: Fixed selection background not showing at primary cursor position with bar/underline cursor styles (#614).
-
Locale Interpolation: Fixed locale name not appearing in "Locale changed" message (#624).
-
Cursor Past Trailing Newline: Allow cursor to navigate to the empty line after trailing newline (#622, @Asuka-Minato).
-
.env Syntax Highlighting: Added .env to default shell syntax patterns (#559).
-
Spanish Translation: Fixed typo in menu bar (@osniel).
-
Audit Mode Keybindings: Use Emacs-style key notation in diff-view bindings (@xunzhou).
- Refactored config system to use layered PartialConfig resolution everywhere.
- Code cleanup: use
Selfwhere possible, merge match arms (@adamnemecek). - Clean up log output by resetting to column zero (@Martin-Häcker).
- Bumped windows-sys to 0.61.2 (@dependabot).
macOS Users: This release includes significant improvements for macOS terminal compatibility. See the new macOS Terminal Tips guide for recommended terminal emulators and keyboard configuration. The macOS keymap (
keymaps/macos.json) is a work in progress—please submit patches based on your experience with different terminals and keyboard layouts!
-
macOS Keymap: Terminal-friendly keybindings that avoid broken Ctrl+Shift combinations, ASCII control char collisions (Ctrl+J=LF), and international keyboard conflicts (Ctrl+Alt+L=@ on German). Key bindings: Ctrl+R (redo), Ctrl+G (find next), Ctrl+L (go to line), Ctrl+T (go to symbol), Alt+B/F (word movement). See macOS Terminal Tips (#219).
-
4-Level Config System: Configuration now merges user, platform, project, and session layers. Settings UI shows layer indicators and allows editing specific config files.
-
Tab Context Menu: Right-click tabs for Close, Close Others, Close All, Close to Right options.
-
Drag-to-Split Tabs: Drag tabs to screen edges to create new splits.
-
Plugin Logging: New
editor.error(),editor.warn(),editor.info(),editor.debug()methods route plugin output through the editor's logging system. -
Log Management: Logs moved to XDG state directory with automatic 24-hour cleanup. Use
--show-pathsto see log locations.
These features are work-in-progress. Expect rough edges and breaking changes.
-
Internationalization (i18n): Full i18n support with 11 languages (German, French, Spanish, Japanese, Korean, Chinese, Russian, Ukrainian, Czech, Portuguese, Thai). Select locale via command palette or Settings UI. Plugins support translation via
editor.t()and.i18n.jsonfiles. Note: Keybinding shortcuts do not take the active layout into account, which is why this feature is still experimental. Also I need you to provide feedback on the translations since they were all machine-generated and I don't speak any of the languages added. -
Vi Mode Plugin: Added
.repeat command, visual block mode, and colon command mode with comprehensive vim commands (:w,:q,:wq,:e,:split, etc.). -
Review Diff Plugin: Side-by-side diff view with synchronized scrolling, line alignment, and word-level highlighting. Access via "Side-by-Side Diff" command.
-
Tab Size Zero Panic: Fixed division by zero when tab_size is 0 (#580).
-
Hidden Cursor Panic: Fixed crash when rendering buffers with hidden cursors (#607, yoooughtul).
-
Settings Paste: Fixed clipboard paste not working in Settings UI edit dialogs (#605, Tyooughtul).
-
Show Hidden Truncation: Fixed "Show Hidden" checkbox label truncated in file dialog (#558).
-
Syntax Highlighting Config: User-configured filename patterns now work for syntax highlighting (#565).
-
Replace All Performance: Fixed O(n²) performance issue causing hangs on large files (#564).
-
Plugin Thread Hang: Fixed plugin thread hanging on shutdown.
-
File Explorer Crash: Fixed crash when scroll_offset exceeds tree size (#562).
-
Background Revert Jump: Fixed viewport jumping when auto-reverting background files.
-
Scrollbar Gaps: Render scrollbars with background fills to avoid glyph gaps in some terminals (Oleksii Smotrov).
-
BulkEdit Operations: Multi-cursor and replace-all now use O(n) algorithm instead of O(n²).
-
Semantic Highlighting: Debounced to reduce CPU usage during rapid cursor movement.
-
Find Selection Next/Previous: Search for word under cursor without opening find panel. Ctrl+F3/Ctrl+Shift+F3 or Alt+N/Alt+P (#489).
-
Cursor Style Configuration: Configure terminal cursor style (block/bar/underline, blinking/steady) via command palette (#341).
-
Case Conversion: Transform selected text to uppercase (Alt+U) or lowercase (Alt+L) (#522).
-
Folder Modified Indicators: Parent folders show dot indicator when containing unsaved files (#526).
-
Line Ending Indicator: Status bar shows LF/CRLF/CR, clickable to change. Conversion on save, configurable default (#487).
These features are work-in-progress. Expect rough edges and breaking changes.
-
LSP Helper Plugins: Popup with install commands when LSP server not found for Python, Rust, TypeScript (#502).
-
Vi Mode Plugin: Full vi-style modal editing with normal/insert/visual modes, operators (d/c/y), motions (hjkl, w/b/e, gg/G), text objects (iw, i", i(), etc.), counts, and find character (f/t).
-
Review Diff Plugin: Code review for AI-generated changes or git diffs. Side-by-side view with synchronized scrolling, line comments, approve/reject/stage actions, export to Markdown/JSON.
-
Line Numbers with Wrapped Lines: Fixed line numbers desyncing when scrolling through wrapped lines (#552).
-
Click Past End of Line: Now positions cursor at line end instead of next line start (#547).
-
Line Wrapping: Fixed characters being clipped at wrap boundaries with tabs and grapheme clusters (#550).
-
Zsh Dotfiles: .zshrc, .zprofile, .zshenv now highlighted as shell scripts (#537).
-
Cursor on Status Bar: Fixed cursor jumping to status bar when scrolling to end of file (#468).
-
Large Single-Line Files: Fixed memory exhaustion and 100% CPU on files like minified JSON (#481).
-
Config Editor Keys: Fixed Delete, Home/End, Ctrl+A in JSON text box.
-
Search Term Persistence: Alt+N/Alt+P keeps original search term when landing on longer word.
- AUR: Use stable source tarball to fix sha256sum validation failures.
-
Warning Indicators: Non-intrusive warning notifications in the status bar. Click or use commands to view warnings, with domains for LSP and general warnings.
-
Format Buffer Command: Explicit command to format the current buffer on demand.
-
Config Applied on Open:
line_numbersandline_wrapsettings now properly apply when opening new buffers.
-
Settings Persistence: Fixed settings not persisting after save and reopen (#474, #457).
-
SaveAs Overwrite Confirmation: Added confirmation dialog when SaveAs would overwrite an existing file (#476).
-
Multi-Byte Character Input: Fixed panic when editing multi-byte characters in text inputs and prompts (#466).
-
TextList Dialog: Fixed add-new input not rendering in entry dialogs.
- To prevent accidental deletion of files, removed 'd' / delete key bindings from File Explorer, changed the underlying delete to show a prompt and to move files to trash instead of really deleting.
-
Shell Command Prompt: Pipe buffer or selection through shell commands (Alt+|).
-
On-Save Actions: Run formatters/linters on save. Default formatters included for Rust (rustfmt), JavaScript/TypeScript (prettier), Python (ruff), C/C++ (clang-format), Go (gofmt).
-
Stdin Input: Pipe content via stdin with background streaming (
echo "hello" | fresh -). -
Multi-File CLI: Open multiple files from command line (#389).
-
Tab Indent Selection: Tab indents selected lines, Shift+Tab dedents (#353).
-
Toggle Menu Bar: Hide/show menu bar via command palette for extra screen space.
-
Global File Positions: Cursor/scroll positions stored globally per file, not per project (#423).
-
Relative Line Numbers: Show relative distances from cursor in gutter for easier vim-style navigation. Enable via
relative_line_numbersconfig (#454).
-
On-Save Missing Tools: Graceful handling when formatter/linter command not found.
-
Settings UI Nested Dialogs: Fixed nested ObjectArray navigation and save not persisting (e.g., editing on_save inside language config).
-
Live Grep Working Directory: Fixed search plugins using process cwd instead of project working directory.
-
Open File Path Resolution: Fixed relative paths resolving incorrectly when editor launched from different directory.
- Live Grep UI: Fixed UI freezing for seconds during large codebase searches by making plugin event loop non-blocking.
-
Embedded plugins in binary as fallback for cargo-binstall (#416).
-
Removed duplicate theme JSON files (#438).
-
Extracted modules from mod.rs (file_operations, split_actions, clipboard, etc.).
-
Pinned Rust 1.92 via rust-toolchain.toml (#338).
-
Windows build switched from MSVC to GNU target.
-
Copy with Formatting: Copy selected text as HTML with syntax highlighting. Works in Google Docs, Word, etc. Available via Edit menu submenu or command palette.
-
Pascal Language Support: Auto-indentation and semantic highlighting for
.pasand.pfiles (@casibbald). -
Set Line Ending Command: Change buffer line ending format (LF/CRLF/CR) via command palette.
-
Buffer Settings Commands: Toggle auto_indent, use_tabs, and tab_size via command palette.
-
Settings UI: Recursive dialog stack for nested arrays/maps, focus indicators, Ctrl+S to save, select-all on number input edit.
-
Tab Size Config: Fixed tab_size config not being respected (#384).
-
Windows Multi-Line Paste: Fixed CRLF paste appearing as single line (#427).
-
CRLF Highlighting: Fixed syntax highlighting offset drift in CRLF files.
-
CRLF Cursor: Fixed cursor invisible at end of line in CRLF mode.
-
Menu Navigation: Keyboard navigation now skips disabled items.
-
Cut/Copy Disabled: Menu items grayed out when no selection.
-
Extracted CRLF helpers, consolidated TextMateHighlighter into TextMateEngine.
-
Updated insta (1.45.0), deno_core (0.376.0).
-
External Paste with Prompts: Fixed paste via terminal (Ctrl+Shift+V / bracketed paste) going to editor instead of open prompt (#406).
-
Block Selection Escape: Fixed Escape key not canceling block selection mode (#405).
-
CRLF Line Endings: Fixed CRLF handling to preserve original line endings. Enter inserts correct line ending, End key positions before \r\n, backspace/delete treat \r\n as single unit (#401).
-
RPM Package: Fixed /usr/bin/fresh entry missing from RPM package manifest.
-
Settings Percentage Values: Fixed percentage settings saving as integers instead of floats.
-
Windows Unicode: Fixed unicode character not supported on Windows (#400).
-
AUR Source Package: Fixed sha256sum not being updated when publishing.
-
Nix Flake: Fixed missing sublime-syntax grammar files in source filter.
-
Flatpak/AppImage: Strip binaries before bundling for smaller package sizes.
-
Test Reliability: Fixed flaky e2e tests on macOS by removing timing sensitivity.
-
Release Workflow: Added package upgrade tests and nix build test.
- Per-Language Tab Settings: Added
use_tabsandshow_whitespace_tabsconfig options per language. Go and Makefile default to tabs (#364). - AppImage Packaging: AppImage bundles now included in GitHub releases (#365).
- Terminal Color Detection: Auto-detection of terminal color capabilities with fallback to 256 colors. Override via
FRESH_COLOR_MODE. - TOML Syntax Highlighting: Added embedded TextMate grammar for TOML files.
- Language Detection by Filename: Detect languages by filename (
.bashrc,Makefile,Dockerfile, etc.) (#383). - Minimal Config Saves: Config file only saves non-default fields.
- Settings UI: Mouse click/double-click support, hover effects, improved scrolling.
- LSP: Improved error messages when server not found (#363). Fixed didOpen ordering (#399). Check diagnosticProvider capability before pull diagnostics (#399).
- Terminal Mode Reset: Fixed terminal_mode not being reset when closing a terminal buffer.
- cargo-binstall: Fixed missing binaries warning (#388).
- macOS Keybinding Display: Fixed showing ⌘ instead of Ctrl (#356).
- tmux Truecolor: Fixed detection when
COLORTERM=truecoloris set. - RPM Upgrade: Fixed upgrade failing when older version installed (#387).
-
Universal Install Script: New
install.shscript for easy installation across Linux and macOS. -
Settings UI Enhancements:
- Entry dialogs for editing Languages, LSP servers, and keybindings
- Schema-driven dialog builder with automatic field generation
- Dimming effect for modal dialogs
- Column-aligned controls for cleaner layout
- Setting descriptions now displayed inline
- Map controls with flat navigation, entry highlighting, and delete buttons
-
LSP Hover Improvements: Hover popups now persist when moving within a symbol or hovering over the popup itself. Popups dismiss on focus loss.
-
Replace History: Search & replace now supports history navigation for the replace field.
-
Paste with Selection: Fixed paste not replacing selected text - previously inserted without deleting selection.
-
Multi-Cursor Paste: Fixed paste only working at primary cursor - now pastes at all cursor positions.
-
Bracketed Paste: Enabled bracketed paste mode for proper handling of external paste (Ctrl+Shift+V). External pastes now arrive as single atomic events instead of character streams.
-
Settings Input Isolation: Fixed keyboard input leaking between Settings UI panels.
-
Map Control Buttons: Fixed [+] Add new buttons not working for Map controls.
-
File Browser Navigation: Fixed input routing issues in file browser modal.
-
Config Loading: Fixed config not loading from working directory; changes now apply to runtime state immediately.
- rust-analyzer Defaults: Added minimal performance defaults for rust-analyzer LSP.
-
Input Handling Refactor: New hierarchical
InputHandlertrait system for cleaner modal input routing. -
Component Pattern: Refactored all Settings UI controls (Button, Toggle, NumberInput, TextInput, Dropdown, TextList, MapInput, KeybindingList) to consistent component pattern.
-
Config Module: Consolidated config path resolution and loading into
config_iomodule. Config editor now saves only non-default values. -
Code Organization: Extracted action handlers into dedicated modules (menu_actions, lsp_actions, prompt_actions, undo_actions, mouse_input).
- musl Build: Enabled the
runtimefeature for musl builds. - Flatpak: Fixed CI and metainfo handling (official Flathub container + flatpak-builder action, appstream-compose deps, avoid corrupting XML declaration, remove invalid
launchabletag).
- Version Bump Script: Version bumps now skip
cargo check.
-
Settings UI: New graphical settings editor accessible via View menu or command palette. Features:
- Two-panel layout with categories on left and settings on right
- Fuzzy search to quickly find settings
- Full keyboard navigation (Tab cycles through panels, arrow keys navigate items)
- Mouse support with scrolling, scrollbar dragging, and hover indicators
- Dropdown, number input, text list, and map editing controls
- Reset to default functionality for individual settings
- Confirmation dialog when discarding unsaved changes
- Help overlay showing keyboard shortcuts
-
Default/Reset Color Support: Theme colors can now use "Default" or "Reset" values for terminal transparency. The theme editor plugin shows these special colors with a "∅" placeholder swatch. Terminal background and foreground can inherit from the user's terminal emulator settings.
-
Flatpak Packaging: Added Flatpak support for Linux installation (#340). Flatpak bundles are now included in releases.
-
File Permissions Loss on Save: Fixed file permissions/mode bits being lost when saving files (#329). Executable scripts and other special permissions are now preserved.
-
Polling File Watcher: Replaced inotify/FSEvents-based file watching with a simple polling approach (#321). This fixes "too many open files" errors on large projects. Configurable via
auto_revert_poll_interval_ms(default 2s) andfile_tree_poll_interval_ms(default 3s). -
Terminal Input Capture: Fixed terminal capturing keyboard input when the Settings UI is opened while a terminal split is focused.
-
Search Result Scrolling: Fixed settings UI not scrolling to show selected search results.
- Memory Limit: Changed
max_memory_mbtomax_memory_percent(default 50%) for consistent behavior across machines with different RAM.
- AUR: Updated package names to match conventions (fresh-editor vs fresh-editor-bin). Added
--syncdepsto makepkg commands (#343).
-
TimeSource Abstraction: Added TimeSource trait for testability, making time-dependent behavior deterministic in tests (issue #314).
-
Test Reliability: Replaced thread::sleep with testable time source in e2e tests. Fixed flaky tests on macOS and Windows.
-
Dependency Updates: Updated deno_core, deno_error, actions/upload-artifact, actions/download-artifact, and actions/setup-node.
-
Double-Click Word Selection: Double-click now selects the word under the cursor. Both clicks must be at the same position within the configurable time threshold (
double_click_time_ms, default 500ms). -
Multi-Byte Character Support: Full support for CJK characters, emoji, and other double-width Unicode characters. Includes correct visual width calculation, cursor positioning, mouse click handling, line wrapping, and display across all UI components (status bar, tabs, file explorer, suggestions). (reported by @pm100)
-
Nix Flakes Support: Added Nix flakes for reproducible builds and development. Includes crane-based Rust caching, dev shell with toolchain and dependencies, checks for clippy/tests/formatting, and direnv integration.
-
Mouse Escape Codes After Panic: Fixed mouse control codes littering the terminal after a crash by disabling mouse capture in the panic handler (#311, reported by @rluvaton).
-
Hover Popup Screen Edge: Fixed panic when LSP hover popup appears near the edge of the screen.
-
File Explorer Click Focus: Fixed typing not working after clicking on empty area in the file explorer and then clicking back on the editor.
- npm Publish Workflow: Consolidated npm publishing into a single workflow that works both standalone and when called from release.yml.
Thanks to @blissartt, @dvchd, @jakoss, @pm100, @rluvaton, @sottey, and @Yousa-Mirage for bug reports, suggestions, and contributions.
-
Switch Project Command: New "Switch Project" command (renamed from "Open Folder") to change project root with full context switch. Sessions are automatically saved and restored when switching projects, preserving open files, cursor positions, and split layouts.
-
Nested Submenu Support: Menus now support nested submenus with proper arrow indicators and positioning.
-
Select Keybinding Map Command: New popup selector to choose between different keybinding schemes.
-
Double-Click in File Dialog: Can now double-click to open files in the file open dialog.
-
File Explorer UX Improvements:
- Ctrl+E now focuses the file explorer instead of toggling it
- File explorer automatically focuses when closing the last tab
- Menu checkboxes properly sync with file explorer visibility state
-
Split Auto-Close: Closing the last tab in a split now automatically closes the split.
-
Mouse Click Below Last Line: Fixed mouse click below the last line incorrectly jumping to position 0,0.
-
Menu Checkbox Sync: Fixed View menu checkboxes not syncing with file explorer visibility state.
-
Duplicate Buffer on Project Switch: Fixed duplicate buffer creation when switching projects.
-
Wrong Upgrade Tip: Fixed incorrect upgrade tip message (#293).
-
Build System Overhaul: Replaced cargo-dist with direct cargo builds and custom packaging for more control over the release process.
-
npm OIDC Publishing: Improved npm publish workflow with OIDC trusted publishing and provenance attestations.
-
GitHub Actions Updates: Bumped actions/checkout to v6, actions/upload-artifact to v5, actions/download-artifact to v6, and actions/setup-node to v6.
-
Test Improvements: Many test reliability improvements including Windows compatibility fixes, flaky test fixes, and better test isolation for session persistence tests.
- XDG Config Paths: Support standard XDG config paths for user configuration. On macOS,
~/.config/fresh/config.jsonis now prioritized if it exists, in addition to the system default path. (@Yousa-Mirage)
-
cargo-binstall: Added cargo-binstall as an installation method in documentation. (@dvchd)
-
npm OIDC Publishing: Switched npm publish to OIDC trusted publishing with provenance attestations.
-
Integrated Terminal: Full terminal emulation using alacritty_terminal. Open a terminal split with "Open Terminal" command, run shell commands, and interact with TUI applications. Supports:
- Keyboard capture mode (F9) for sending all keys to terminal
- Scrollback history with file-backed storage
- Session persistence - terminals restore across editor restarts
- Paste support (Ctrl+V)
- Click to focus terminal splits
- Auto-restore terminal mode when switching back to terminal tabs
- Dimmed UI indication when keyboard capture is active
-
Mouse Hover for LSP: Hover over symbols to see LSP hover information (type info, documentation). Configurable delay before showing hover popup.
-
Toggle Maximize Split: New command to maximize/restore the current split view.
-
Close Tab Command: New command to close a tab without closing the underlying buffer.
-
C# Language Support: Added C# language configuration with LSP support (csharp-ls or csharp-language-server) and auto-indent. Includes proactive
dotnet restoreon C# file open. -
Config Editor Improvements: New
getConfig/getUserConfigplugin APIs. Config editor now properly merges user config with defaults for LSP and languages sections. Timestamped backups created before saving config. -
LSP Menu: New LSP menu in menu bar with common LSP actions. Menu items are disabled when LSP server is not ready.
-
Common LSP Keybindings: Added default keybindings for common LSP operations.
-
C/C++ Language Support: Added C and C++ language configurations to defaults.
-
LSP Focus Stealing: Fixed LSP error and warning buffers stealing focus from the active buffer.
-
Terminal Scrollback: Fixed multiple issues with terminal scrollback not being captured, restored, or displayed correctly after session restore and mode toggles.
-
Terminal View Following: Fixed terminal view not following output when at the bottom of the screen.
-
Config Editor: Fixed config editor saving null instead of user changes. Fixed undefined defaultValue reference.
-
Duplicate LSP didOpen: Fixed duplicate didOpen notifications being sent to strict LSP servers.
-
LSP didChange Race: Fixed LSP didChange notification being sent before didOpen.
-
Musl Builds: Added musl builds without plugins for fully static Linux binaries.
-
Plugin Build Flag: Added cargo feature (
no-plugins) to disable plugins at the dependency level, reducing binary size and startup time. -
Test Organization: Moved plugin-related and LSP find_references tests to dedicated plugins directory.
-
Test Reliability: Fixed flaky e2e tests, skipped platform-specific tests on Windows/macOS where appropriate.
-
Terminal Architecture: Implemented incremental streaming architecture for terminal scrollback with PTY logging and file-backed buffers.
-
Update Checker: Automatically checks for new versions periodically (every 24 hours) and on quit, showing a notification when updates are available.
-
Diagnostics Panel: New diagnostics panel plugin showing all errors/warnings in a dedicated split view. Opens in horizontal split, auto-updates on buffer change, and syncs cursor position with F8/Shift+F8 navigation. Includes help line with keybinding hints.
-
Diagnostics API: New plugin API for accessing LSP diagnostics programmatically.
-
LSP Initialization Options: Added support for
initialization_optionsin LSP server configuration. -
Warning Log Layer: Captures WARN+ level logs to a file and can open them in the editor for debugging.
-
Plugin Hook: Added
cursor_movedhook for plugins to respond to cursor position changes. Standardized hook naming to use underscores.
-
UTF-8 Status Bar: Fixed panic when truncating status bar text mid-character.
-
Session Restore: Fixed session restore when a plugin buffer was the active buffer.
-
Viewport Sync: Fixed viewport sync issues after SplitViewState refactoring.
-
LSP Null Response: Treat null LSP response as valid result instead of error.
-
LSP Auto-Start: Persist LSP auto-start setting when manually stopping the server.
-
Safe String Slicing: Use safe string slicing in get_text_to_end_of_line to prevent panics.
-
SplitViewState Refactoring: Made SplitViewState authoritative for viewport state.
-
Default Log Path: Use system temp directory for default log file path.
-
Test Reliability: Fixed flaky tests on macOS and Windows, improved diagnostics panel tests.
-
Dependency Updates: Updated deno_core, schemars, libloading, and GitHub Actions dependencies.
-
Documentation: Added macOS plugin location information, documented reloadConfig plugin API.
- aarch64 Build: Fixed build on aarch64 Linux by enabling v8_use_custom_libcxx.
-
GPM Mouse Support: Added mouse support in Linux virtual consoles (TTY) via the GPM daemon (#231). Uses dlopen to load libgpm.so at runtime, so the binary works on systems without GPM installed. Gracefully falls back to standard terminal mouse protocol when GPM is unavailable.
-
Configurable Highlight Context: Syntax highlighting lookback/lookforward is now configurable via
highlight_context_bytesin config (default increased from 1KB to 10KB). Fixes inaccurate highlighting when viewing the middle of files with long multi-line constructs.
- Mouse Wheel After Keyboard: Fixed mouse wheel scroll not working in main editor after keyboard navigation (#248).
-
Reduced Logging: Reduced verbose debug logging in default config.
-
Signal Handling: Removed ctrlc dependency, use nix sigaction directly.
-
Test Reliability: Fixed flaky auto-revert tests on macOS (FSEvents latency) and filesystems with 1-second mtime granularity.
-
Dependency Updates: Reduced and updated dependencies.
- Windows Build: Fixed Windows build compatibility.
- Split Close Tab Preservation: Fixed tabs not being preserved when closing a split.
- Diff Optimization: Optimized diff_since_saved with two-phase algorithm.
-
CLI file:line:col: Support
file:line:colformat on CLI command (#217). -
LSP Error Logging: LSP stderr is now piped to a file and opened as read-only buffer on error.
-
Config Languages: Use config languages section for LSP language detection.
-
TypeScript Highlighting: Fixed TypeScript syntax highlighting by falling back to tree-sitter.
-
Plugin Race Condition: Fixed race condition in plugin hooks reading stale state snapshot.
-
Long Path Truncation: Truncate long paths in Open File prompt with styled [...].
-
Graceful Shutdown: Prevent spurious LspError on graceful shutdown.
- Syntect for Highlighting: Use syntect for syntax highlighting, retain tree-sitter for other features (#237).
-
AUR Package: Added AUR package automation and installation instructions.
-
npm and crates.io: Added automated npm and crates.io publishing.
-
Theme Editor Plugin: New interactive theme editor for customizing colors. Allows editing all theme color values with a visual interface.
-
Drag-to-Select Mouse Support: Click and drag to select text, similar to graphical editors.
-
Homebrew Distribution: Preliminary setup for Homebrew distribution on macOS.
-
File Open Dialog: Fixed handling of pasted paths in the file open dialog. Previously pasting a full path would fail; now it correctly opens the file or navigates to the directory.
-
Mouse Click on Wrapped Lines: Fixed mouse click positioning not working correctly on wrapped lines and empty lines.
-
Linux Packages:
.deband.rpmpackages are now available for Debian/Ubuntu and Fedora/RHEL distributions respectively. -
Homepage: Set official homepage to https://sinelaw.github.io/fresh/
- Linux packages fix: Fixed
.deband.rpmpackages not being included in GitHub releases.
- Auto-load user config: Startup now loads the default config file (e.g.
~/.config/fresh/config.json) so themes and preferences persist without needing--config. - Clearer confirmation prompts: Destructive prompts now use action verbs (revert, overwrite, discard) instead of generic y/n, reducing misclicks.
- UTF-8 safe deletion: Backspace/Delete operate on full Unicode characters (emojis, accented letters, currency symbols) instead of raw bytes.
- Deb/RPM artifacts: Release workflow now builds stripped
.deband.rpmpackages for x86_64 and aarch64, with matrixed install/uninstall tests across Ubuntu 22.04/24.04, Debian 12, Fedora 39/40, and Rocky Linux 9.
-
TextMate Grammar Support: Syntax highlighting now uses TextMate grammars via syntect for languages without tree-sitter support. Includes proper highlighting for Markdown (headings, bold, italic, code, links, quotes, lists).
-
Fuzzy Matching: Command palette and file browser now use fzf-style fuzzy matching. Matches are highlighted and scored by consecutive characters, word boundaries, and match position.
-
Tab Navigation Commands: New commands "Go to Next Tab" and "Go to Previous Tab" in the command palette for keyboard-driven tab switching.
-
File Recovery: Emacs-style auto-recovery for unsaved changes. Buffers are automatically saved every 2 seconds to
~/.local/share/fresh/recovery/. On startup, automatically recovers unsaved changes from crashed sessions. Uses chunked storage for large files to avoid memory issues. -
Explorer Menu: New menu bar entry with file explorer actions (New File, New Folder, Rename, Delete) and keybindings. Disabled items shown in theme colors when not applicable.
-
File Explorer Rename: Press F2 or use Explorer menu to rename files/folders. Project root is protected from renaming.
-
Emacs-Style Readline Bindings: Added terminal key equivalents for common operations:
- Ctrl+A: Home (beginning of line)
- Ctrl+E: End (end of line)
- Ctrl+K: Kill to end of line
- Ctrl+U: Kill to beginning of line
- Ctrl+W: Kill word backward
- Alt+D: Kill word forward
- Ctrl+Y: Yank (paste from kill ring)
-
Multi-Cursor Selection: Fixed Ctrl+D selection replacement not working correctly (issue #210).
-
LSP Auto-Restart: Fixed stopped LSP server incorrectly auto-restarting on edit.
-
File Explorer Selection: Fixed selection being lost after rename completes.
-
Markdown Highlighting: Fixed markdown files not getting syntax highlighting for headers, bold, italic, links, etc.
-
Recovery Write Performance: Removed sync_all from recovery writes, reducing disk I/O overhead.
-
Large File Recovery: Chunked recovery format applies edits directly without loading entire file into memory.
See git history for changes.
-
Git Gutter Plugin: Shows git diff indicators in the gutter for lines changed vs HEAD:
- │ (green): Added line
- │ (yellow): Modified line
- ▾ (red): Deleted line(s) below
-
Buffer Modified Plugin: Shows unsaved changes with │ (blue) indicators for lines modified since last save.
-
Line Indicator System: New plugin API for gutter indicators with automatic position tracking. Indicators use byte-position markers that shift automatically when text is inserted/deleted. Priority system allows multiple indicator types to coexist (diagnostics > git > buffer modified).
-
LCS-Based Line Diff: Buffer modified indicators now use the classic LCS (Longest Common Subsequence) algorithm - the foundation of Unix diff - for accurate change detection. Correctly handles insertions without marking shifted lines as changed, and detects deletion points.
-
Content-Based Diff: Diff comparison now uses actual byte content rather than piece tree structure. This means if you delete text and paste it back, the indicator correctly clears because the content matches the saved state.
-
Save As Undo History: Fixed undo history being cleared after Save As due to auto-revert triggered by file watcher detecting the newly created file. Uses optimistic concurrency with mtime comparison to avoid spurious reverts.
-
Save As Dirty State: Fixed undo dirty state not being tracked correctly after Save As on unnamed buffers (issue #191).
- Large File Mode: Diffing is now disabled in large file mode for performance. Uses the simpler is_modified() flag instead of expensive diff calculations for files with >10MB or unknown line counts.
-
Live Grep Plugin: Project-wide search with ripgrep integration and live preview. Search results update as you type (minimum 2 characters), with a split pane showing file context and syntax highlighting. Press Enter to open file at location, ESC to close preview.
-
Calculator Plugin: Scientific calculator with clickable buttons and keyboard input. Supports parentheses, exponents (^), sqrt, ln, log, trig functions, pi, and e. Mouse click/hover support, copy button for results, and ANSI-colored UI with Unicode box drawing. ESC to close, DEL to clear.
-
File Explorer Improvements:
- Shows file sizes (KB/MB/GB) and directory entry counts
- Close button (×) in title bar to hide explorer
- Left arrow on file/collapsed directory selects parent
- Keybinding changed from Ctrl+B to Ctrl+E (avoids tmux conflict)
-
Split View Close Buttons: Split views now show a × button on the right side of the tab row (only when multiple splits exist) for easy closing.
-
Close Last Buffer: Closing the last buffer now creates a fresh anonymous buffer instead of blocking with "Cannot close last buffer".
-
Alt+W Keybinding: New shortcut to close the current tab.
-
Command Palette Source Column: Shows where each command comes from - "builtin" or the plugin filename - in a right-aligned column.
-
Relative Buffer Names: Buffer display names are now shown relative to the working directory.
-
File Explorer Toggle: Fixed Ctrl+B/Ctrl+E toggle not working correctly - now properly opens/closes instead of just focusing.
-
Session Restore: Fixed file explorer not initializing when restoring a session with explorer visible.
-
Open File Popup: Hide status bar when file browser popup is shown; improved high-contrast theme colors (cyan instead of yellow).
See git history for changes.
-
Session Persistence: Automatically saves per-project state (open files, tabs, split layout, cursor/scroll positions, file explorer state, search/replace history and options, bookmarks) to the XDG data dir and restores it on launch. Session restore is skipped when opening a specific file; use
--no-sessionto start fresh. -
Unified Search & Replace: Replace (Ctrl+H) and Query Replace (Ctrl+Shift+H) now share the same interface with a "Confirm each" toggle (Alt+E). Query Replace enables confirmation by default; Replace uses the toggle state. Confirmation prompt shows
(y)es (n)o (a)ll (c)anceloptions.
-
Session Restore Reliability: Fixed session rehydration to reopen files/splits with the correct active buffer, cursor, and scroll position (including nested splits) instead of jumping back to the top on first render.
-
macOS Build: Fixed Linux-specific
.init_arrayby using cross-platform V8 initialization. -
Syntax Highlighting: Fixed invisible/hard-to-read highlighting in light and nostalgia themes by using theme-based color resolution instead of hardcoded colors.
-
Theme Colors: Improved status bar and prompt colors across all themes (dark, high-contrast, light, nostalgia).
-
Search Prompt: Search/replace prompts now cancel when focus leaves the editor (switching buffers or focusing file explorer).
-
Native File Browser: New built-in file browser for Open File command (Ctrl+O) that works without plugins. Features sortable columns (name, size, modified), navigation shortcuts (parent, home, root), filtering with grayed non-matches, mouse support with hover indicators, and async directory loading.
-
CRLF Line Ending Support: Transparent handling of Windows-style line endings. Files are detected and normalized internally, then saved with their original line ending format preserved.
-
CLI Enhancements: Added
--version,--no-plugins(skip JS runtime for faster startup),--log-file, and--configflags. -
UI Improvements:
- Tab hover effects with close button changing to red on hover
- Menu hover-to-switch when a menu is open
- Buffer name shown in modified buffer confirmation prompts
- Fixed column widths in command palette for stable layout
-
V8 Segfault: Fixed crash when creating multiple Editor instances (e.g., in tests) by initializing V8 platform once at library load.
-
Windows: Fixed duplicate key presses caused by processing both Press and Release events.
-
Open File Prompt: Fixed completions not showing immediately (issue #193) by enabling ICU support for Unicode functions.
-
Keyboard Shortcuts Help: Fixed crash when reopening keyboard shortcuts buffer (issue #192).
-
Undo Save Points: Fixed extra undo step at beginning of save history (issue #191).
-
Scroll Keybindings: Fixed Ctrl+Up/Down scroll not working by syncing viewport between SplitViewState and EditorState.
-
Select Theme Command: New theme picker accessible from the command palette and View menu. Includes a new "nostalgia" theme inspired by Turbo Pascal 5 / WordPerfect 5.
-
Compose Mode Improvements: Paper-on-desk visual effect with desk margin colors, and hanging indent support for markdown lists and blockquotes.
-
Binary File Detection: Binary files are now detected and opened in read-only mode to prevent accidental corruption.
-
Light Theme: Fixed colors for status bar, prompt, scrollbar, tabs, and file explorer to use proper light theme colors.
-
Mouse Performance: Fixed slow mouse movement on large terminals by skipping redundant renders when hover target hasn't changed. Added mouse event coalescing to skip stale positions.
-
UTF-8 Truncation: Fixed panic when truncating suggestion descriptions mid-character.
-
Code Refactoring: Major cleanup extracting helpers and reducing duplication across many modules including
process_async_messages,handle_plugin_command,render_view_lines,multi_cursor,highlight_color, and more. Consolidated duplicatehook_args_to_jsonimplementations. -
Test Improvements: Fixed flaky tests by removing timing assertions, made shortcut tests platform-aware for macOS.
-
Documentation: Reorganized internal planning docs, updated plugin README from Lua to TypeScript, and added embedded help manual using
include_str!().