Editor
A full-screen editor that also edits JSON, YAML, XML and CSV as trees and tables — without touching a byte you didn't change.
JSON · YAML · XML
Your formatting survives
Change a value in the tree, add a member — then look at the text: comments, key order, quotes and indentation exactly as written, with only your change in it. F4 switches between the two, the cursor on what you were on.
Data as data
Trees and tables you edit directly, saved back as the text they came from.
Made for code
The things you reach for every day, on the keys you'd expect.
The details
Code
- Colored in 49 languages, by the file's name or its first line
- Matching brackets marked, an unmatched one in red; ⌘\ and ⇧⌘\
- Brackets and quotes closed as you type
- Folding by brackets or indentation: ⌥⌘[, ⌥⇧⌘[, ⌥⇧⌘]
- ⌘/, in the language's own markers
- Other uses of the name under the cursor marked
Data
- JSON, YAML, XML and property lists as trees; CSV and TSV as tables
- ⌘N, F6, F5, F8
- ⌘N, ⇧⌘N, F5, F6, F8, ⇧F8
- ⌘V from a spreadsheet, duplicate rows removed, a table split into files
- ⌘V puts a copied value or branch into a tree
- Comments, order, quoting and line endings kept as written
- A file that doesn't parse opens on its text, where it broke
Text
- ⌥⌘P and ⌥⇧⌘P, for all of it or what's marked
- Blocks of lines, or columns with Option
- F7, with regular expressions and $1 for a group in the replacement
- ⌘D, ⌃⌘↑ and ⌃⌘↓
- A file's own indent kept
- ⌘Z and ⇧⌘Z
Files
- F2, ⇧F2, and ⇧F4 for the encoding and line endings
- Closing with changes asks first
- A file changed on disk read again
- A save keeps the file's permissions, owner and attributes, so a script stays executable
- Every save goes in the journal
- ⇧F4 opens any file here, whatever it is
ncmd editopens a file from any terminal, andncmd edit --waitmakes it git's editor
Open that file you've been meaning to fix.
Download for macOS
Version 1.2.0 · universal · macOS 13 or later · about 70 MB