pardes Builtins

Builtins

These are the words you click in a tag (Exec runs them) or type as a command, a line at a time. The everyday ones come first; the rest by what they are for.

Everyday

Config

SPCfc, in the workspace tag · Open the startup file, init, in a pane: its pane when it is open, else the file, else a pane of that name for Save to make it and its directory.

Del

SPCd · takes an argument · Close the pane.

Delcol

SPCcd · Close this column and its panes, refusing once over unsaved text.

Dump

SPCsd, in the workspace tag · Write the session's panes and layout to a dump file, for Restore.

Exec

Tab, middle-click · takes an argument · Execute its argument as a middle click on it would, a builtin or a shell command.

Exit

SPCq, in the workspace tag · Quit the editor, refusing once while a pane holds unsaved text: an Exit with nothing edited since discards it.

Find

SPCff, in the workspace tag · takes an argument · List the files below this pane's directory whose names hold its argument, in a +Search.

Grep

SPCfg, in the workspace tag · takes an argument · Find's sibling: Find matches file NAMES under this pane's directory, Grep matches file CONTENTS under every pane's directory at once.

Help

SPC?, in the workspace tag · Open the help: every key and every builtin.

Kill

takes an argument · acme's Kill: stop the commands pardes started -- the lines it typed into a terminal, from an exec, a middle click or a pty/run, while their shell says they run (C mark to D).

Look

Enter, right-click · takes an argument · Look at its argument: open the file or address it names, else find the word, as a right click does.

New

SPCfn · Open an empty scratch pane, <dir>/+New, in this pane's directory.

Newcol

SPCcn, in the workspace tag · An empty column right of the keyboard's, its tag taking the keyboard.

Recent

SPCfr · List the files opened lately, closed ones too, each a place to open again.

Redo

Redo the last undone edit.

Restore

SPCsr · takes an argument · Replace every pane with those of a dump file, the last one Dump wrote when bare.

Save

SPCfs · takes an argument · Write the pane's text to its file, or to the file its argument names.

Themes

SPCtt, in the workspace tag · List the themes in a pane, each a word to click.

Tty

SPCnt · takes an argument · A shell in the calling pane's directory, raw from the first frame.

Tutor

SPCht, in the workspace tag · Open the tutor, a document to work through.

Undo

acme's Undo and Redo: step the pane's body back or forward through its edits, from a tag, a pane ctl or exec.

Panes and columns

Joincol

SPCcj, in the workspace tag · Fold the active pane's column into the one on its right, keeping its panes.

Moving and jumps

Back

SPCjo, Ctrlo · Ctrl-o: one step back into the history.

Down

SPCwj, Ctrlwj, CtrlwDown · Move the keyboard to the pane below, off a tag onto the pane under it.

Forward

SPCji, Ctrli · Ctrl-i: one step forward again, up to wherever Back started.

Jumplist

SPCjl · List the places jumped from, each a place to go.

Last

SPCjj · Go back to the last place jumped from in another pane.

Left

SPCwh, Ctrlwh, CtrlwLeft · Move the keyboard to the pane, or column tag, to the left.

Right

SPCwl, Ctrlwl, CtrlwRight · Move the keyboard to the pane, or column tag, to the right.

Up

SPCwk, Ctrlwk, CtrlwUp · Move the keyboard to the pane above, and from a column's top pane to its tag.

Terminals

Tty9p

SPCn9 · A Linux terminal with the current session mounted through kernel v9fs.

Language server

Callees

SPClC · List the functions the function under the cursor calls.

Callers

SPClc · List the callers of the function under the cursor.

CodeAction

SPCla · List the language server's code actions for the cursor.

Diagnostics

SPCld · List the file's diagnostics from the language server.

Hover

SPClk · Ask the language server about the symbol under the cursor.

Lspinfo

SPCli · Show which language servers serve this file and their state.

Rename

SPClr · takes an argument · Rename the symbol under the cursor everywhere, to its argument.

SelectRefs

SPClh · Select every reference to the symbol under the cursor.

Subtypes

SPClT · List the subtypes of the type under the cursor.

Supertypes

SPClt · List the supertypes of the type under the cursor.

Symbols

SPCls · List the file's symbols from the language server.

WsDiagnostics

SPClD · List the workspace's diagnostics from the language server.

WsSymbols

SPClS · takes an argument · Search the workspace's symbols for its argument.

Sessions

Attach

SPCsa · takes an argument · Attach this terminal to a detached pardes session by name.

Detach

SPCsD · Detach this pardes from its terminal, leaving the session running.

Help

Changelog

SPChc, in the workspace tag · This build's version and what changed to reach it, printed into an output buffer the same way Config prints the live settings.

Clipboard

ClipPaste

SPCp · Paste the system clipboard after the selection.

ClipPasteBefore

SPCP · Paste the system clipboard before the selection.

ClipReplace

SPCR · Replace the selection with the system clipboard.

ClipYank

SPCy · Copy the selection to the system clipboard.

ClipYankMain

SPCY · helix <space>Y: the PRIMARY selection alone, where SPC y joins every cursor's.

Toggles

Ascii

SPCta · takes an argument · add the printable ASCII bitmaps to the matcher's glyph set

Fonts

window only · SPCtf · List the fonts in a pane, each a word to click.

NextColor

SPCtn · Switch to the next bundled theme.

Palette

SPCtl · takes an argument · the C64 palette or the terminal's own 16

PdfFit

SPCtz · takes an argument · Fit the PDF page to the pane by width or by height, flipping between them (or to the one named, width|height).

PdfSections

SPCts · List the PDF's sections in a pane, each a place to go.

PdfTint

SPCti · takes an argument · Tint the PDF page to the theme, or show it as printed, stepping through them (or to the one named, disabled|filtered|full).

Petscii

SPCtp · takes an argument · glyph art over the host's pixels: an image pane's picture, or the kitty graphics a terminal's program placed (yazi's previews)

Settings and themes

Bloom

window only · on|off|0-3 · The brightest ink glows a little: a level, 0 (off) through 3.

BootShell

keep|replace · A document dropped where a lone untouched shell stands: keep the shell, or replace it.

ChipShadow

on|off · In a terminal, a notice chip casts a cell's shadow right and down, on or off.

Colors

SPCtc · on|off · Syntax colours in text panes, on or off.

Crt

window only · SPCtr · on|off|0-3 · The bundled CRT post pass over the window, on or off.

window only · on|off · The cursor blinks, solid while typing, on or off.

DirLook

pane|terminal · A directory looked at: pane, a pane listing it as acme's directory window, or terminal, ls in a terminal there.

DumpDir

takes an argument · The directory Dump writes to and a relative Restore reads from; bare, the default.

FocusTint

on|off · The focused pane's and column's tags are tinted, on or off.

Font

window only · takes an argument · The body font, by name or path, and its size.

Grain

window only · on|off|0-3 · The page takes a fine, still grain, like paper: a level, 0 (off) through 3.

GripWidth

window only · takes an argument · The grip and scrollbar width, as a percent of the theme's rail.

HoverGlow

window only · on|off · A soft underline of light under the word a look-hover would open, on or off.

InactiveDim

takes an argument · Fade the unfocused panes' text by a percentage, 0 through 100, 0 off.

JumpScope

file|all · What Back and Forward keep to: file, the focused pane's file until it runs out that way, or all, every place in order.

JumpTrail

on|off · In a terminal, a jump of the cursor leaves a short trail that fades, on or off.

Lift

window only · on|off|shadow|rim|auto · How the focused pane stands off the page: off, shadow, rim or auto.

Ligatures

window only · on|off · A font's programming ligatures draw across their cells, on or off.

LookWord

search|list · A plain word looked at: search selects its next place in the pane, list lists every place in a +Search.

MessageAnimation

on|off · A message falls into its row and dissolves out of it, on or off.

MessageDissolve

takes an argument · How long, in milliseconds, a message takes to dissolve.

MessageFall

takes an argument · How long, in milliseconds, a message takes to fall into its row.

MessageLinger

takes an argument · How long, in milliseconds, a message stays after what dismisses it.

Motion

off|crisp|smooth|bouncy|playful · How animations move: off, crisp, smooth, bouncy or playful.

Occlusion

window only · on|off · Pane bodies darken faintly toward their edges, on or off.

Pager

pardes|off · What a terminal's commands page through: pardes, a +Pager pane (pardes -), or off, the environment's own; for terminals started after it.

PagerColor

on|off · A +Pager keeps its program's colours, on or off; for the next text paged.

PanelAscii

SPCaa · on|off · Panes open and close through a scatter of ASCII, on or off.

PanelCurtain

SPCac · on|off · Panes open and close like a curtain, on or off.

PanelDissolve

SPCad · on|off · Panes dissolve in and out as they open and close, on or off.

PanelEdges

SPCae · on|off · Panes open and close from their edges, on or off.

PanelFall

SPCaf · on|off · Panes fall into place as they open, on or off.

PanelScramble

SPCar · on|off · Panes open and close through scrambled text, on or off.

PanelSlide

SPCas · on|off · Panes slide in and out as they open and close, on or off.

PanelType

SPCat · on|off · Panes type themselves in as they open, on or off.

PanelVertical

SPCav · on|off · Panes open and close with a vertical wipe, on or off.

PanelWave

SPCaw · on|off · Panes open and close in a wave, on or off.

PanelZoom

SPCaz · on|off · Panes zoom in and out as they open and close, on or off.

Parallax

window only · on|off · A theme's page pattern moves with the text at a quarter of its speed, on or off.

Placement

SPCcp · acme|pardes · Where a new pane goes: acme, as makenewwindow does, or pardes, the older rules.

SelectionGlow

window only · on|off · A soft halo of the selection's colour round it in the body, on or off.

Shader

window only · takes an argument · A Shadertoy file into the post chain, or out of it, compiled again when saved; off empties the chain.

ShaderAnimation

window only · off|on|always · When the post chain animates on its own: off, on (while focused) or always.

Shell

takes an argument · The shell new terminals run; bare, $SHELL if it is executable, else /bin/sh.

SyntaxBold

on|off · Keywords and the like are drawn bold, on or off.

Tab

takes an argument · A tab's width in cells, 1 through 16, in every pane; bare, it says the width.

Tagbottom

SPCtb · on|off · Each pane's tag goes at its foot rather than its head, on or off.

TaglineSize

window only · takes an argument · Scale the tag font, a percentage.

TermImages

real|petscii · How a new terminal draws its program's kitty graphics: real, as pixels where it can, or petscii, as glyph art.

Theme

takes an argument · Switch to the named theme.

ThumbFlash

on|off · In a terminal, a pane's scroll thumb brightens as it scrolls and fades back, on or off.

TreeContextTagStyle

on|off · A pane's TreeContext rows draw in the tag's style, on or off.

Verbose

on|off · A builtin says its own name on the message row as it runs, on or off.

Vignette

window only · on|off|0-3 · The window's corners fall into shade: a level, 0 (off) through 3.

WindowOpacity

window only · takes an argument · The window's opacity, a percentage.

Wrap

SPCtw · on|off · Long lines wrap onto the next row, on or off.

Other words

Collapse

Fold a pane to its tag, or restore its share of the column.

DelAbove

Close the pane, giving its rows to the pane above it.

DelBelow

Close the pane, giving its rows to the pane below it.

Edit

takes an argument · acme's Edit: sam's command language over the open text panes, from a tag, a pane ctl or exec, starting in the pane's body.

Filter

Recolour a terminal's program colours to the theme, or show them as sent, flipping between them.

Get

takes an argument · acme's Get: the pane's file read again, its unsaved edits refused once as Del refuses them.

Incl

takes an argument · acme's Incl, for the session: Incl dir ... adds directories a look at a name found nowhere else is tried in (stdio.h, <foo.h>), bare lists them, Incl - empties the list.

LocationsConfig

takes an argument · Set how location rows are drawn, or show how they are when bare.

Mini

takes an argument · Open a minimap of the file in braille dots.

Mode

Cycle the pane's input modes: terminals add raw tty mode to normal/insert.

Mount

takes an argument · Mount another pardes's 9P tree under /n/<name>, given its dial address.

Msg

takes an argument · Show its argument on this pane's message row.

Pet

window only · takes an argument · An optional SDL workspace-tag companion; never consumes input or text cells.

Putall

acme's Putall: every pane holding unsaved edits to a file is saved, each as its own Save; one that is refused (changed on disk since, a write that fails) says so and the rest are saved all the same.

Repl

takes an argument · Binds this terminal as a language's REPL, so an exec on that language's files is typed into it instead of run.

ThemeFile

takes an argument · Load a theme from a file.

Togglettymode

Switch this terminal between raw program input and normal editor mode.

TreeContext

takes an argument · Show the declarations enclosing the top row at the pane's head, on or off.

Unmount

takes an argument · Unmount the 9P tree mounted under /n/<name>.

Zerox

acme's Zerox: a second pane on this pane's file, the same text, undo and unsaved state, with a scroll and a cursor of its own (File.zerox).

Debugging and internals

Debug

SPCtd, in the workspace tag · on|off · A small box of frame statistics at the top right, on or off.

DumpConfig

Open the settings in effect, each a word to click, and the startup file's path.

DumpThemes

Write the bundled themes into the config directory's themes, to edit.

EffectCode

takes an argument · Open the source of a panel transition or post shader, by name.

Lspwhy

SPClw · Explain how the last language server request was answered, step by step.

Messages

SPChm · Open the messages shown so far.

All builtins, A–Z

Ascii Attach Back Bloom BootShell Callees Callers Changelog ChipShadow ClipPaste ClipPasteBefore ClipReplace ClipYank ClipYankMain CodeAction Collapse Colors Config Crt CursorBlink Debug Del DelAbove DelBelow Delcol Detach Diagnostics DirLook Down Dump DumpConfig DumpDir DumpThemes Edit EffectCode Exec Exit Filter Find FocusTint Font Fonts Forward Get Grain Grep GripWidth Help Hover HoverGlow InactiveDim Incl Joincol JumpScope JumpTrail Jumplist Kill Last Left Lift Ligatures LocationsConfig Look LookWord Lspinfo Lspwhy MessageAnimation MessageDissolve MessageFall MessageLinger Messages Mini Mode Motion Mount Msg New Newcol NextColor Occlusion Pager PagerColor Palette PanelAscii PanelCurtain PanelDissolve PanelEdges PanelFall PanelScramble PanelSlide PanelType PanelVertical PanelWave PanelZoom Parallax PdfFit PdfSections PdfTint Pet Petscii Placement Putall Recent Redo Rename Repl Restore Right Save SelectRefs SelectionGlow Shader ShaderAnimation Shell Subtypes Supertypes Symbols SyntaxBold Tab Tagbottom TaglineSize TermImages Theme ThemeFile Themes ThumbFlash Togglettymode TreeContext TreeContextTagStyle Tty Tty9p Tutor Undo Unmount Up Verbose Vignette WindowOpacity Wrap WsDiagnostics WsSymbols Zerox