edit

Use edit for quick changes to text files in a lightweight browser editor.

DevelopmentVersion 1.2.5Stable
lil-terminal

Overview

Use edit when the job is simply to read and change text. It has fewer moving parts than the code editor, while keeping the same direct file workflow and documented editor shortcuts.

Quick text changes with a small editor

edit is for quick text changes without extra syntax-highlighting assets. Choose code when you need language-aware editing.

Syntax

lil-terminal
edit <file> [-n]

Reference

edit <file>

open a file in the text editor

-n

create a missing file and open it

help hotkeys

show editor keyboard shortcuts

When to use edit

Use edit <file> for notes, configuration fragments, logs or source files when syntax highlighting is unnecessary. Use code <file> when language detection and syntax highlighting make the change easier to review. Opening a file does not execute its contents.

File rules

The target must be a regular readable and writable text file. Binary data is rejected and files larger than 2 MiB are not opened. With -n, the parent directory must already exist; an existing file is never recreated.

edit -n creates files exclusively, preserving existing files; binary or oversized input is refused.

Interactive sandbox preview

Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.

Open a file in the text editor

Install and manage

Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.

Base and Minimum are two packages of the same current module release, not separate command versions.

Base package

Install the complete package with local command reference and every published mode.

install edit
Minimum package

Install the reduced package. Local reference is omitted; help <cmd> -i opens the current server reference.

install edit -m
Exact public version

Install exactly this published version.

install edit -v 1.2.5
Check or update

Ask upgrade to check compatibility and replace the installed block only when needed.

upgrade edit
Remove module

Remove the extension block while leaving the core and unrelated modules intact.

install edit -u

Examples

Examples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.

Open a file in the text editor
edit \sandbox\data\sample.txt
Browser text editor opens (no file is modified in this preview).
Create a missing file and open it
edit \sandbox\tmp\review.txt -n
Browser text editor opens (no file is modified in this preview).
Open a file in the text editor
edit \sandbox\tmp\review.txt
Browser text editor opens (no file is modified in this preview).
Handle a missing text file
edit \sandbox\data\sample.txt -n
Browser text editor opens (no file is modified in this preview).
Open a file in the text editor
edit \sandbox\missing.txt
File not found
Open a file in the text editor
edit \sandbox\data\sample.txt -x
Unsupported option

File used in this example: sandbox/data/sample.txt

The example uses a file or directory from the protected /sandbox/ documentation workspace.

lil-terminal sandbox text file

This file is safe to read, copy, rename, replace, hash and archive.

Related documentation

Current public release

v1.2.52026-10-31

Production refinement

Current stable release of edit. Use edit for quick changes to text files in a lightweight browser editor.