Setting details
Development reference · View source
Held-key speed
editor.motion_repeat_multiplier applies only to single-key movements that
the terminal repeats while the key is held, such as the arrow keys and
h, j, k, and l. A single press still moves once.
- Runyte asks terminals that support it for enhanced key reporting, so a held key can be told apart from repeated presses.
- On macOS it asks only for unambiguous key codes and detects repeats from their timing. Some terminals there have reported ordinary keys as repeats.
- For terminals that report repeats as ordinary presses, Runyte recognises the long initial delay followed by the steady repeat cadence, and applies the same multiplier.
Automatic Git refresh
Git views and tracked-file gutters refresh from filesystem events while they
are visible. git.refresh_interval_seconds bounds this work in both
directions:
- At most this often. Event-driven refreshes never start more often than the interval.
- At least this often. After the interval, a periodic check catches anything a lost or unsupported event missed.
Details:
- An event that arrives while no Git view is visible waits until one is shown.
- Showing a different Git view waits for the interval before fetching more automatically.
:git-refreshand Runyte’s own Git operations are never rate-limited.0turns off both event-driven and periodic refresh.:git-refresh, and the refresh that follows Runyte’s own Git operations, still work.
Where workspace state lives
workspace.state may be absolute, or relative to the workspace directory.
Runyte finds the workspace directory by walking up from the launch directory:
- It looks for the nearest Git, Jujutsu, or Subversion working-copy root.
- If there is none, it looks for the configured relative state directory
(
.runyte/by default). - If neither exists and the launch directory is exactly home, ide and mux use the home workspace with out-of-tree state. Subdirectories never discover it.
- Elsewhere, an ide launch creates the state directory in the launch
directory and uses that as the workspace. It refuses instead in the
directories listed under Finding the
workspace
, for a
target outside the launch directory, and whenever
workspace.stateis absolute, since discovery cannot find an absolute state directory again. mux refuses too. Both suggestrunyte --init DIRECTORY. Editor mode needs no workspace.
runyte --init DIRECTORY creates the state directory, so later launches find
the same workspace.
Initializing home uses the same home workspace as a bare ide or mux launch. Runyte creates no new relative workspace state directory in home. An existing relative state directory there remains supported and is still found by ordinary upward discovery.
Workspaces can also keep state outside their directory tree. The per-user
Runyte state root is $XDG_STATE_HOME/runyte on Linux and other Unix systems,
falling back to ~/.local/state/runyte; on macOS it is
~/Library/Application Support/runyte, and on Windows it is
%LOCALAPPDATA%\runyte. Account defaults come from the operating system,
not an inherited home-directory variable.
Each workspace has its own private workspaces/<workspace-id>/ subtree,
containing the same logs, pasted images, plugin downloads and saved host names
as in-tree state. Configuration and cache storage cannot overlap workspace
state; Windows keeps workspaces and cache as separate siblings in its
Runyte application directory. Unix hosts prefer a private XDG_RUNTIME_DIR;
out-of-tree workspaces otherwise use a short private directory beneath /tmp
for sockets and endpoint metadata. The workspace ID stays unchanged.
Startup captures canonical storage reservations once to reject aliases into configuration, cache or per-user state. It reuses that safety result through application startup; checking a reservation does not create state directories.
A version-control checkout rooted at home keeps its normal discovery and scanning behavior, but new state also lives in the per-user state area. An existing configured relative state directory there is retained.
The home workspace uses out-of-tree state, even when workspace.state is
absolute. Other workspaces retain their configured placement. Existing state
directories are never relocated.
Windows state anchor
On Windows, workspace.state_anchor sets the boundary for durable plugin
state:
workspace:
state_anchor: profile # or local-app-data
- The boundary comes from the current account’s known-folder record.
workspace.statemust be strictly inside that boundary.- Existing parent directories are used as they are. Only the final state directory is created, as private storage.
- Custom anchors, relocating existing state, and falling back to another ancestor are not supported.
- Leaving it unset keeps the full-ancestry behavior.
- Unix accepts the setting, so one file can be shared, but ignores it.