Open the file.
Know the edges.

Start here for Studio 1.27.0.

Installation and updates, first-run essentials, file safety, search, panes, windows and workspaces, plugins, terminal boundaries, the agent in the dock, connecting your own agents and the model proxy, and recovery—without an IDE-sized manual.

Browse every feature

01 · Setup

Install and update

  1. Choose a release from the versioned download page, or download the current Linelark Notepad Studio 1.27.0 disk image.
  2. Open the DMG and drag Linelark Notepad Studio into Applications.
  3. Eject the disk image, then open Linelark from Applications.
Optional integrity checkshasum -a 256 Linelark-Notepad-Studio-1.27.0.dmgExpected: 26868bf18e434e712adf8e7aba22aaac5cbedfa97e8baa1230ca71b32f7c0e79

Studio checks for a newer release at launch and at most every six hours. When there is one, an Update button appears at the leading edge of the titlebar, counts the download up, and opens the image once it has verified its digest and Developer ID signature; you drag Linelark across as you did the first time. There is no button when the running version is the published one. Help ▸ Check for Updates… asks immediately, and the Mac App Store edition has neither, because Apple updates it.

02 · Start

First run

A window with nothing open shows the welcome page: Recent Files and Recent Projects side by side, because carrying on with a file and going back to a project are different questions. Under them, Make This a Development Environment names the plugins that supply what an editor is usually expected to have but that are not built in—Build and Run, Launcher, and Compare Files. Clicking a name installs it through the reviewed catalog, with the same checksum and permission questions Get Plugins… asks; installed ones drop out of the list, and the section goes with the last of them. The git client (GitHub), Document Preview and Format are built into the editor, so they are not offered here. None of them is required.

Open a file or choose a folder. A folder adds the side panel with its tree, open files, function list, search results, and any panel a plugin contributes. Linelark detects the language, encoding, and line endings; each remains overridable from the menus or status bar.

Help ▸ Welcome to Linelark brings the page back at any time, and the switch on it decides whether a launch starts there.

Two editions

The Mac App Store edition is sandboxed: no terminal, no git, and no network for plugins, so it fetches no code and recommends only the two plugins that work inside the sandbox—clicking one opens its page here instead. Studio is the complete direct-download edition.

03 · Navigate

Essential shortcuts

⌘1–⌘9Jump to a tab
⇧⌘NOpen a second window
⌘\Split editor right
⌥⌘1–4Choose pane layout
⌥⌘← →Focus another pane
⌥⌘COpen Column Editor
⌃SpaceComplete a word
⌘F2Toggle a bookmark
F2 / ⇧F2Step through bookmarks
⌘/Toggle line comment
⇧⌘VPreview the document
⌘⌫Move the selected row to the Trash
⌃`Show Studio terminal
⌃⇧NStart another terminal
⌃⇧5Split the terminal

04 · Preserve

Encoding and line endings

Linelark detects eleven encodings and LF, CRLF, or CR line endings. Saving preserves the detected format unless you explicitly convert it.

  • If text looks wrong, use Reinterpret as before editing or saving.
  • Use the encoding menu to convert a document intentionally.
  • Whole filenames and shebangs participate in language detection alongside extensions.

06 · Arrange

Panes and tabs

Choose a preset with View ▸ Editor Layout, then drag dividers to resize. Drag tabs between strips, or open the same document in several panes. Shared views use one buffer and undo history but keep independent selections and scroll positions.

The pane layout and its tabs return on relaunch. Reducing the number of panes folds surplus tabs into the last remaining pane.

07 · Arrange

Windows and workspaces

File ▸ New Window (⇧⌘N) opens a second window with its own tabs, panes, folder root, find state, shells, and plugin panels, standing on the welcome page so there is something to pick from. Every window that was open at quit is restored, in order, at the size and position it had; closing one forgets that window rather than the session.

Closing the last tab leaves the window standing on that same page—the folder tree, the shells, and the agent it was holding stay with it. ⌘W again, with nothing left to close but the window, closes it. Close All empties a window without closing it, and a tab’s own ✕ never takes the window with it.

Opening a folder — or a multi-root .code-workspace file — from Finder, the Dock, or open -a loads it as the project it describes, in a window of its own, so a second project never lands on top of the one you are in; an empty window is filled rather than left behind. A double-clicked file still joins the window you used last. Add another root with File ▸ Add Folder to Workspace…, remove one from its context menu, build one from nothing with File ▸ New Workspace…, and write a portable workspace file with File ▸ Save Workspace or Save Workspace As….

Which settings are per window

Panels and their heights belong to the window. Word wrap, line numbers, whitespace, the document map, the theme, and the status bar are app-wide and change everywhere at once.

Folder search honours boolean files.exclude and search.exclude globs from an opened workspace file, and fields Linelark does not interpret — settings, tasks, launch configuration — are written back unchanged. The workspace page covers the format in full.

09 · Studio

Terminal safety

The Studio terminal is a real login shell, not a simulated command box. Commands have the same access and consequences they would have in Terminal.app. Review commands before running them, keep secrets out of shared output, and avoid destructive operations unless you know their exact target.

  • Every shell is bound to something you chose: the tab’s file, or one of the folders in the workspace. A file terminal starts in that file’s folder and closes with the tab — unless you pin it (Terminal ▸ Pin Terminal to Keep It Open), in which case it keeps running and is taken back over when the file is reopened.
  • A project terminal is pinned by definition and outlives the tabs around it; closing a workspace leaves it running.
  • Terminal ▸ New Terminal (⌃⇧N) starts another shell in place of the one on screen, and the header’s ⇄ re-aims this one at a different file or project. Once two are open, every running shell is listed down the side of the panel.
  • Terminal ▸ Split Terminal (⌃⇧5) divides the panel into up to three shells. A split is a second shell on the same binding, started in the directory the one it came from is currently in.
  • Hiding the panel (⌃`, the titlebar switch, or its ⌄) leaves every shell running; ending one is Terminal ▸ Close This Terminal. Terminal ▸ Terminal at Full Height fills the window and puts the panel back afterwards.
  • Terminals are not saved with the session. A relaunch starts with no shells, and a split column is not restored.
  • $LINELARK_FILE is fixed when that shell starts. Restart the shell after Save As to refresh the path and working directory.
  • Clean tabs reload after terminal tools edit them; tabs with unsaved edits are protected.
  • Claude Code integration is opt-in and explains the hook before writing to ~/.claude. What it writes, and how to remove it.
  • The terminal fits between the side panels by default, so the folder tree keeps its full height; Terminal ▸ Terminal Between Side Panels, or the titlebar’s layout switch, runs it across the full width instead.
  • A model proxy can follow your shells. Preferences ▸ Terminal ▸ Model Proxy runs CLIProxyAPI from the first terminal to the last, so Claude Code or Codex pointed at it can use models from the other accounts you signed in to there. It is off by default; the status bar’s Proxy dot starts or stops it, and with no proxy installed it links to EasyCLIProxyAPI, which installs and configures it. A proxy started elsewhere is used, never stopped for you. Step-by-step setup.

10 · Studio

The agent in the dock

Studio runs Claude Code in the right dock — one headless session per window, started and stopped from the titlebar, with the conversation restored per window after a relaunch. It runs the claude you have installed, found on your login PATH, and says so plainly when there is none.

  • It reads your buffers, not your disk. Each window opens its own MCP server on a Unix socket and hands over the open tabs, the active buffer, the selection, a line range, and the find bar’s own search — so the answer is about the edits you have not saved yet.
  • Every write is shown and asked for. An edit arrives as a card carrying the diff the buffer would become. Approving it lands an ordinary undoable edit in the buffer, so ⌘Z puts it back and you decide when to save.
  • What the conversation has cost is on screen in the panel and in the titlebar. Interrupt ends a turn and keeps the conversation; Stop ends the process.
  • Starting a turn by itself — after a save, after a file opens, or on a timer — is off until you switch each trigger on.
  • The same socket reaches shells in the terminal panel as $LINELARK_MCP_SOCKET, so a claude you start yourself can read the editor too, once the integration is set up.
  • Studio only: the sandboxed Mac App Store edition cannot spawn a process or open a socket, so the dock is absent there. The agent guide lists every tool on the socket.

11 · Studio

Connect your own agents

The dock above needs nothing set up. This section is for the agents you run yourself in the terminal panel, and it covers two separate things that are easy to mix up. Each is optional, and each can be done without the other.

Editor tools (MCP)

Lets a claude you start in a Linelark terminal read your open tabs as typed, your selection and the other terminals, and propose edits that ask first. Set up once, from inside Linelark. Nothing to download.

Model proxy

Lets Claude Code or Codex use the models of other accounts you are signed in to, such as a GPT or Gemini model from inside Claude Code. Needs a separate download: EasyCLIProxyAPI, which installs CLIProxyAPI.

Editor tools for a terminal claude

  1. Install Claude Code so a login shell finds the claude command. Run which claude in a Linelark terminal to check.
  2. Choose Terminal ▸ Set Up Claude Code Integration…. The terminal panel's banner and a right-click on the status bar's MCP dot offer the same command.
  3. Read the dialog. It lists every file it will touch, and nothing is written until you click Set Up.
  4. Start a new terminal, or choose Terminal ▸ Restart Shell in one that is already open. The integration only reaches shells started after it.
  5. Run claude there and type /mcp. A server named linelark should be listed as connected.
What the setup wrote, for when you have forgotten

Four things, all in your own Claude Code configuration and nowhere else:

  • ~/.claude/hooks/Linelark-context.sh: a hook that tells Claude which file the tab above the terminal is showing.
  • ~/.claude/hooks/Linelark-mcp.sh: the bridge from Claude Code to the window's socket, which $LINELARK_MCP_SOCKET names. Outside Linelark it answers as a server with no tools, so other Claude Code sessions are not affected.
  • In ~/.claude/settings.json: a SessionStart hook entry, and permissions.allow rules for the read-only mcp__linelark__… tools. Tools that change something are never pre-approved; they ask every time.
  • In ~/.claude.json: a linelark entry under mcpServers.

Running the command again tells you whether it is set up, and updates the scripts if an older Linelark wrote them. To remove the integration, delete the two scripts and those three entries. claude mcp remove linelark -s user removes the server entry for you.

The status bar's MCP dot belongs to the window it is in. Clicking it turns that window's editor tools off or on.

  • Ring: on, but nothing has asked yet. The socket opens with the first terminal or agent.
  • Green: listening.
  • Grey: off. Nothing can read this window.
  • Orange: the socket could not be opened. Hover for the reason.

Another MCP client. Right-click the MCP dot and choose Copy MCP Config. You get a standard mcpServers entry that runs /usr/bin/nc -U on this window's socket, in $TMPDIR/linelark-mcp/. It works only while that window is open.

The model proxy

Linelark does not install the proxy, sign you in to anything or change your agents' settings. It starts and stops CLIProxyAPI, and that is all. Setup is three parts: install, let Linelark run it, then point the agent at it.

  1. Install it. Download EasyCLIProxyAPI. It is a separate, free app that downloads CLIProxyAPI to ~/Library/Application Support/com.cpa.gui/cpa-core/, which holds the cli-proxy-api binary and its config.yaml.
  2. Sign in. In EasyCLIProxyAPI, sign in to the accounts whose models you want to use, such as Claude, ChatGPT/Codex or Gemini. Then turn off its own start-on-launch, so that Linelark decides when the proxy runs.
  3. Let Linelark run it. Open Preferences ▸ Terminal ▸ Model Proxy and switch on Run CLIProxyAPI while a terminal is open. Leave Proxy and Config empty for an EasyCLIProxyAPI install. Fill them in only if CLIProxyAPI lives somewhere else. The Status line below them says what the proxy is doing.
  4. Find its address and key. Both are in config.yaml: port: (8317 unless you changed it) and a key under api-keys:. Open a terminal and check that the proxy answers and lists its models:
Check the proxycurl -s http://127.0.0.1:8317/v1/models -H "Authorization: Bearer YOUR-PROXY-KEY"A list of model IDs means it is running and signed in. "Connection refused" means it is not running.
  1. Point Claude Code at it in the shell you run it from:
Claude Code through the proxy
export ANTHROPIC_BASE_URL=http://127.0.0.1:8317
export ANTHROPIC_AUTH_TOKEN=YOUR-PROXY-KEY
claude --model MODEL-ID-FROM-THE-LIST
Exported in one shell, it affects only that shell. In ~/.zshrc, it affects every claude on the Mac, and those fail whenever the proxy is not running.
  1. Or point Codex at it with a provider in ~/.codex/config.toml:
Codex through the proxy
model_provider = "cliproxyapi"
model = "MODEL-ID-FROM-THE-LIST"

[model_providers.cliproxyapi]
name = "CLIProxyAPI"
base_url = "http://127.0.0.1:8317/v1"
wire_api = "responses"
env_key = "CLIPROXYAPI_KEY"
Then run: export CLIPROXYAPI_KEY=YOUR-PROXY-KEY

The status bar's Proxy dot shows the proxy for every window at once. Click it to start or stop the proxy.

  • Grey: not running, or not installed. When it is not installed, clicking explains what to get.
  • Yellow: starting.
  • Green: running. A proxy started outside Linelark is used as it is, and only a click on the dot stops it.
  • Orange: it could not start. Hover the dot, or read Preferences' Status line, for the reason.

Linelark starts the proxy with the first terminal in any window. It stops it ten seconds after the last terminal closes, or when you quit.

12 · Extend

Install plugins

Choose Plugins ▸ Manage Plugins… ▸ Get Plugins… to browse reviewed releases, or click one of the recommendations on the welcome page. Linelark verifies the catalog’s published size and SHA-256 checksum, checks the ZIP structure and manifest, then stages the installation so an existing version can be restored if replacement fails.

  • Read what each plugin declares before installing it: whether it runs commands, changes git, or reaches the network, plus the hosts and credential fields it asks for. Running commands is named first because it is the heaviest — a command can do anything you can do.
  • Each declaration is its own switch in Manage Plugins, granted separately from the install.
  • Use Plugins ▸ Install Plugin… for a local .linelarkplugin folder or .linelarkplugin.zip archive. That one works in both editions; Get Plugins… is Studio’s, because it fetches over the network.
  • Manage Plugins shows load failures, permissions, versions, and the latest 200 log lines.
  • Read the developer guide to build your own against plugin API generation 12.

13 · Protect

The encrypted vault

File ▸ Vault…, or the side panel's Vault button, opens a window of its own: its own plain-text editor, its own commands, its own .linelarkvault file. Both editions have it.

Nothing in it becomes a document, and that is the feature rather than an implementation note. Tabs, session snapshots, unsaved-buffer backups, Recent Files, plugin previews and the agent's view of your editor are each somewhere plain text would otherwise land, and every one of them is reached by a file being an ordinary document. Opening a .linelarkvault routes away from the editor rather than making a tab of it.

  • Three ways in. A password, a recovery key issued when the vault is created, or — on a build signed with a provisioning profile, which the direct download is — Touch ID and your Mac password. A random 256-bit content key is wrapped by each credential rather than the documents being encrypted with your password, which is why changing the password is instant and why the recovery key is an alternative to it rather than a second factor.
  • It locks itself on closing or minimizing the window, on sleep, on screen lock, on switching user, and after 1, 5, or 15 idle minutes, clearing the documents, the key, the text view and its undo stack.
  • Only ciphertext is ever written, atomically, debounced while you type and flushed by every way of leaving. A write that fails keeps the encrypted state in memory, says so, and refuses the quit rather than losing what you typed.
  • Security ▸ Delete This Vault… retires the enrolled Mac key and its Keychain reference and then trashes the file, in that order — a failure at the Keychain leaves the file where it is rather than stranding a key nothing can name again. Deleting the file in the Finder still leaves that key behind.
What it does not protect against

Encryption protects stored documents from being read in the Finder or from a copied vault. It does not conceal the vault file's existence or size, protect an already-compromised Mac, or stop someone reading an unlocked screen. A vault holds up to 5 MiB of encoded documents. The local Touch ID key is device-only and never synchronized — the password and the recovery key are what carry a vault to another Mac.

14 · Recover

Restore and recovery

Linelark snapshots untitled documents and unsaved edits while you type. Tabs, pane layouts, dirty buffers, and every window that was open come back after a normal quit or crash. Recent files are pruned when their files disappear.

Bookmarks come back with their tab

They are saved with the session as line numbers rather than offsets, so a file edited while Linelark was closed keeps its bookmarks where the lines went; a line that no longer exists is dropped rather than clamped onto the end. Bookmarks are shared between views of one buffer and move with your edits.

Terminals are the deliberate exception: they are not saved with the session, and a relaunch starts with none.

15 · Resolve

Troubleshooting

The file opens as garbled text.
Choose Reinterpret as and select the original encoding before saving.
A terminal starts in the old folder.
Restart that tab’s shell after Save As; its working directory is chosen at shell start.
Claude in a terminal cannot see my tabs.
Run Terminal ▸ Set Up Claude Code Integration…, then start a new shell. Check that the status bar’s MCP dot is not grey, and that /mcp inside claude lists linelark.
The Proxy dot is orange.
Hover it for the proxy’s own message. “No config at …” means the Config path in Preferences is wrong. “Not listening on port …” usually means the config’s port is taken or the binary will not run; start it once from EasyCLIProxyAPI to see why. “Port … is held by another program” means something else is using that port.
Claude Code or Codex fails with a connection error.
It is pointed at the proxy, and the proxy is not running. Open a terminal, or click the Proxy dot, or unset ANTHROPIC_BASE_URL to go back to your own account.
The agent will not start.
Studio runs your own Claude Code. Install the claude command and make sure a login shell finds it — the same PATH the terminal panel starts with.
A plugin did not load.
Open Manage Plugins. Linelark keeps failed plugins visible with their validation or runtime error and a per-plugin log. A plugin asking for a newer API generation than this Linelark has is refused with a message saying so.
A workspace opened with an empty sidebar.
Only local folders in a .code-workspace are opened. A root on a remote or virtual filesystem is ignored, and a missing path stays unavailable until it can be reached again.
A plugin I enabled is missing in my other window.
Each window loads its own copy of every plugin. Use Plugins ▸ Reload Plugins in that window.
The folder tree missed a disk change.
The watch reports local volumes, so a project on a network share may produce nothing. Use Refresh in the panel header, a folder context menu, or View ▸ Refresh Folder Tree.
An external edit did not replace my buffer.
Linelark will not silently reload a tab containing unsaved work. Save or discard your changes first.
Contact support