FRESH(1)

NAME
fresh - terminal text editor with LSP and TypeScript plugins

SYNOPSIS
fresh [OPTIONS] [FILES...]

DESCRIPTION
fresh is a lightweight terminal-based text editor with LSP support, syntax highlighting, multi-cursor editing, and a TypeScript plugin runtime.

File arguments accept several syntaxes:

•   file — open a file

•   file:line[:col] — open a file and jump to a position

•   file:line:col-line:col — open a file with a selection range

OPTIONS

-a, --attach [NAME]
    Attach to a running session. Use -a on its own for the current directory or -a NAME for a named session.

--stdin
    Read content from standard input (alternative to passing "-" as a filename).

--cmd COMMAND...
    Run a command instead of opening files. Available commands include session (list, attach, new, kill, open-file) config (show, paths) grammar list, and init.

--config PATH
    Path to a configuration file.

--log-file PATH
    Path to a log file for editor diagnostics.

--event-log FILE
    Enable event logging to the specified file.

--no-plugins
    Disable plugin loading for this launch.

--no-init
    Skip ~/.config/fresh/init.ts for this launch.

--safe
    Safe mode: skip init.ts and all plugins (for recovering from a bad config).

--no-restore
    Do not restore the previous workspace.

--restore
    Force restore of the previous workspace, overriding the editor.restore_previous_session configuration setting.

--no-upgrade-check
    Disable upgrade checking and anonymous telemetry.

--locale LOCALE
    Override the interface locale (e.g. en, ja, zh-CN).

-h, --help
    Print help text.

-V, --version
    Print version information.

FILES

~/.config/fresh/config.json
    Per-user editor configuration.

~/.config/fresh/init.ts
    Per-user initialization script, run at startup unless --no-init or --safe is given.

~/.config/fresh/plugins/
    User-installed plugins.

~/.config/fresh/themes/
    User-installed themes.

~/.cache/fresh/embedded-plugins/
    Cache directory for the plugin bundle compiled into the binary.

SEE ALSO
Project documentation: https://sinelaw.github.io/fresh/

BUGS
Report issues at https://github.com/sinelaw/fresh/issues.

AUTHOR
Noam Lewis.