Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting started

日本語 · Contents

There are several ways to install; pick one. The rest of the page is one path: open the sample, edit a cell, save.

Install

mdgrid is a single executable written in Rust. Download an archive for your OS from the GitHub Releases page, or use the tool you already have:

cargo install mdgrid --locked       # Rust 1.90 or newer; builds from source in a few minutes
cargo binstall mdgrid               # cargo-binstall; fetches the prebuilt binary
nix profile install github:S6U5/mdgrid/v0.8.0   # Nix (to just try it: nix run github:S6U5/mdgrid/v0.8.0)

To build from a clone of the repository instead, run cargo build --release to get target/release/mdgrid. The examples below use target/release/mdgrid; with an installed mdgrid, just type mdgrid.

It can also print shell completions (bash, zsh, fish, elvish, powershell) and a man page:

mdgrid --completions zsh > ~/.zfunc/_mdgrid
mdgrid --man > ~/.local/share/man/man1/mdgrid.1

Open the sample root folder

The repository has a sample root folder, examples/studio: the tasks, projects, clients, people and meetings of Northwind Studio, a made-up web studio, in five folders that link to each other (about the samples). Saving rewrites files, so copy it to a temporary folder first:

cp -R examples/studio /tmp/mdgrid-sample
target/release/mdgrid /tmp/mdgrid-sample/Tasks

If the header says “Northwind Studio” and task rows fill the table, it worked. q quits.

The sample’s dates are in early October 2026; the screens in this manual are taken as if today were 2026-10-06 (MDGRID_TODAY=2026-10-06).

To just look without copying, add --readonly. Editing, saving and creating notes are then off, and nothing is written:

target/release/mdgrid examples/studio/Tasks --readonly

All the samples

Every sample at once, from a clone of the repository. demos/try.sh builds mdgrid, copies the sample to a temporary folder, opens it with its own config, and deletes the copy when you quit, so your notes and settings are never touched:

git clone https://github.com/S6U5/mdgrid && cd mdgrid
sh demos/try.sh studio      # the sample above: five tables linked by [[links]]; press R for the relation map
sh demos/try.sh workspace   # some of the same tables grouped into workspaces (-w Work)
sh demos/try.sh configs     # the studio with a config that turns most features on
sh demos/try.sh quirks      # awkward notes: empty and mismatched values, read-only notes
sh demos/try.sh ai-human    # a .base that splits tasks into human and AI work
sh demos/try.sh places      # registered tables

Anything after -- goes to mdgrid, for example sh demos/try.sh studio -- --readonly.

With no argument mdgrid opens the current folder. You can also pass several folders, or a .base file to open its views (Task guides).

Reading the screen

From the top:

AreaWhat it shows
Headera breadcrumb at the start (click the table name or press w for the drawer listing the tables; when a workspace is in use it reads <workspace> › <table> ▾, and clicking the workspace name or pressing W opens the list of workspaces to switch to; vault ▾ here) and the number of rows. At the right, the screen type menu (▦ Table ▾, which lists the relation map when there are linked tables) and ⚙ Settings for the view settings. + New, which creates a note, is at the right end of the view bar
View bara bar with one empty line above and below it (setting display.bar_padding): the view tabs at the left, then the search bar and the Filter, Sort, Group and Columns buttons, and + New at the right end
Tabsview names: Default table (every note of the folder), plus the views of a .base and views you saved
Search barpress \ to type; rows are filtered as you type
Tableone row per note. The first column is the note’s path; the others are frontmatter keys
Bottom barthe number of unsaved changes, the current mode, the selected row and column, and the keys you can press now
Message linethe result of the last action, or why something is read-only

Cell marks:

MarkMeaning
∅ (dim)the value is null (just key:)
""an empty string
blankthe note has no such key
leading !a value that does not fit the column’s type (someday in a date column); sorts last
*an unsaved change
#a read-only cell (a note that cannot be written safely, or a read-only value such as a nested one); select it to see why. Formula columns (headed ƒ) are read-only as a whole, so with colors on their cells are dim instead of marked #
! at the start of the rowa conflict file made by a sync tool, or a note that changed on disk while you had pending changes
~ at the start of the rowan edited row that would now sort or filter elsewhere, kept in place until you save or move

Column types come from .obsidian/types.json, or else from the first non-empty value. The type decides how you edit: pick from candidates for text, a calendar for dates, toggles for lists, cycling for checkboxes. With colors on, the type also shows: a mark in the column heading (# number, ◷ date, ☑ checkbox, ⋮ list, ◉ chips), checkboxes as ☑/☐, and lists and short repeated values as colored chips (Make it look the way you like).

The first keys

KeyDoes
↑ ↓ ← → (or k j h l)move the selected cell
Enteredit the cell
Ctrl+Sreview the diff and save
u / Ctrl+Rundo / redo
/search
\keep only rows containing a word
[ ]switch views
?show every key
: or Ctrl+Pfind a command by name
qquit (asks first if there are unsaved changes)

The mouse works too: click a row to select it, and click a cell of the selected row to edit it. Clicking the selected row’s file name is the same as e (open in the editor). Click a column heading to sort (the view remembers it), drag a column border to resize, and scroll with the wheel. A sideways trackpad swipe (the horizontal wheel) or shift+wheel moves between columns.

Help (?) lists the keys you can press now first. Select one with ↑↓ or a click and press Enter: the help closes and the action runs, so you can use it without remembering the key.

If you forget a key, type its name in the palette; each candidate shows its key.

Every key, and how to rebind them, is in Key bindings.

Configuration

mdgrid works without a config file. To change something, write out every item with its default and a description, and edit from there:

mdgrid --print-config > ~/.config/mdgrid/config.toml

The file is $XDG_CONFIG_HOME/mdgrid/config.toml (or ~/.config/mdgrid/config.toml), or the one given with --config <path>. The UI language is language (auto, en, ja); the default auto looks at the first non-empty one of LC_ALL, LC_MESSAGES and LANG, in that order, and picks Japanese when it starts with ja, English otherwise. Every item is in Configuration.

Next: How mdgrid sees your notes, then the Task guides.