User guide / Install and run

Starting Runyte

Development reference · View source

CommandWhat opens
runyteThe read-only about page
runyte .The current directory in the explorer
runyte file.txtThat file
runyte a.md src/main.rsBoth files; the first is active
runyte +12:4 notes.mdnotes.md with the caret on line 12, column 4
runyte -- +draft.md -notes.mdFiles whose names start with + or -
runyte --editor /etc/fstab, runed /etc/fstabThat file in editor mode , with no workspace
runyte --helpCommand-line options

Details:

  • Workspaces. runyte FILE opens the file in the workspace the current directory belongs to. Outside any workspace the current directory becomes one when the file is inside it. Exactly in home, ide and mux use a home workspace with state in the per-user state area. In a temporary or shared directory, or the filesystem root, or for a file elsewhere, ide refuses and suggests runyte --init DIRECTORY; use runed FILE to edit without one. See Finding the workspace .

  • About page. A new persistent session starts on the about page too, so runyte -a before anything has been opened in that workspace shows it.

  • Several files. Runyte opens every text file given and leaves the first active. Editor and ide launches show a stable Opening workspace… screen while they load.

  • Editable at once. The first document frame is already editable. Syntax highlighting appears on its own when parsing finishes.

  • Caret position. Put a one-based +LINE or +LINE:COLUMN immediately before a file to place its caret when that buffer is first shown. Columns count Unicode characters, not bytes: runyte +12:4 "notes with spaces.md" src/main.rs.

  • Same file twice. Repeated spellings of the same resolved path share one buffer, at startup and later, in either mode. A save-as refuses a path already owned by another live buffer, including its resolved aliases; close that buffer before deliberately taking the path over.

  • Leading - or +. Put -- before such paths.

  • Binary files open the external-program prompt described in Opening binary files . Open them one at a time, so no explicit target can be silently skipped.

  • Standard input. runyte - (piped/stdin scratch input) is deliberately deferred: Crossterm owns stdin for terminal events. Before --, a lone - exits with an explanation instead of starting a terminal that cannot tell file contents from input events.

When a workspace launch refuses, its message names the mode and whether a flag or the mode setting selected it, the directory searched and, for ide, why that directory was not made a workspace. It lists commands to open a project, create a workspace, or (in ide mode) edit without one. A directory argument to ide opens an explorer; to choose a different workspace, use cd DIRECTORY && runyte. Mux can choose one directly with runyte --mux DIRECTORY. Replace DIRECTORY with the desired directory and quote paths containing spaces or shell characters.