Phin Tech docs Microfiche in the store →

Using Microfiche from the keyboard

Microfiche is modal, like Vim: keys move and restructure in Normal mode, and type in Insert mode. If you forget a key, SPC ? lists the common ones, and pressing SPC alone shows what each next key does.

This guide uses the Vim keys. Section 13 covers the Helix keys and changing single keys.

In this guide, SPC is the space bar, cmd becomes ctrl off macOS, and opt is the option key. C-o means ctrl-o.

1. Modes #

Status bar What keys do Get there Leave
NORMAL Move and act on text Where you start
INSERT Type i, a, A, o, O esc
VISUAL Select characters v esc
V-LINE Select whole lines V, or any text object esc
PLACE Choose where lines go m enter, m or esc
READING Move through the rendered Note SPC t r esc
LEADER Choose from the Leader menu SPC esc, or finish the sequence
COMMAND Type a : command or / search : or / enter or esc

2. Moving around #

Keys Moves
h j k l Left, down, up, right
w b Forward and back a word
0 $ Start and end of the line
gg G Top and end of the Note
[[ ]] Previous and next Heading, at any level
ctrl-cmd-up ctrl-cmd-down, SPC g k SPC g j The same, and these also work while typing
/ n N Search, next match, previous match
cmd-f, SPC s s Search
:12 Go to line 12
za, SPC t z Fold or unfold here
gd Follow the Link at the cursor
cmd-click Follow the Link clicked, a web address in your browser. A plain click only moves the cursor
C-o Back from a Link

A number before a movement repeats it, so 3j goes down three lines and 2]] goes two Headings on.

A Heading jump skips Headings inside a fold, and the status bar says so when there are none left. In Insert mode it lands at the end of the Heading's line and you keep typing. It does nothing while Reading or Placing.

3. Editing #

Keys Does
i a Type at the cursor, or after it
A Type at the end of the line
o O Start a new line below or above
x Delete the character
D C Delete or change to the end of the line
dd cc yy Delete, change or copy the line
d, c or y, then a movement Act on what the movement covers, such as dw or y$
p P Paste after or before
u C-r Undo and redo
cmd-z cmd-shift-z Undo and redo
cmd-c cmd-x cmd-v System copy, cut and paste
cmd-a Select the whole Note
enter Follow a Link, change a Task's state, or open an Image, whichever the line holds
C-space while typing Open completion here
cmd-. List fixes for the spelling or grammar under the cursor. tab and shift-tab move through them, enter takes one

y, d, c, x and p share the system clipboard, as cmd-c and cmd-v do: yy here pastes in another app, and p pastes what another app copied. Clipboard under Editor in the settings window, clipboard = "vim", keeps them to Vim's own register instead. Lines copied from a Note reach other apps as Markdown, Tasks as checkboxes, - [ ] or - [x], and a cancelled one struck through, while pasting them back into Microfiche gives exactly what was copied. A word or two from inside a line is copied as typed.

Completion opens by itself where you're writing something it knows: a Task's state after [, a Field on a Task or the line under it, a Field's value after its :, a tag after + and an Event after @. Writing in Headings, bullets and paragraphs leaves it shut. C-space opens it anywhere it has something to offer. For long writing, Completion under Editor in the settings window can wait for C-space every time:

[editor]
completion = "on-demand"

Prose is proofed as you write, by Harper: a misspelt word gets a wavy underline in the error colour and clumsy grammar one in the link colour, a moment after you stop typing. Press cmd-. with the cursor on one, or right-click it and choose Show Code Actions, for what's wrong and a list of fixes you can click. With the menu open, tab and shift-tab move down and up it and round the ends, as down, up, j, k, ctrl-n and ctrl-p do, enter makes the fix on the row chosen and escape closes the menu. Fix menu text size under Editor in the settings window, fix_menu_size, sets the size of its text in points, where 0 is the default, 12. Fix menu on the text grid, fix_menu_snap = true, gives the menu the Note's own text size and line height in whole pixels instead, so its rows line up with the lines beside it as a terminal's do. Fields, tags, mentions, Links and code are never read as prose, and Writing is proofed like everything else. Spelling under Editor in the settings window turns it off, or picks a dialect:

[editor]
spelling = "british"

Words your folder uses that Harper doesn't know, such as a name or jargon, go in the folder's Dictionary, .microfiche/dictionary.txt, one to a line. Choose Add "word" to the dictionary in the fixes menu and it's written there, and Ignore "phrase" in this folder does the same for a style hint. It's read when the folder opens, so editing the file by hand shows at the next start.

Style hints under Editor in the settings window, style_hints = true, also underlines prose that is merely hard to read, in a third colour, as Hemingway does: a sentence of more than 25 words, a wordy phrase such as "in order to" or a cliche, an adverb or a weasel word such as "very", passive voice, and a sentence that opens with "so" or "there is". A wordy phrase offers the plain word in the fixes. They're hints, not mistakes, and most come from write-good's lists, credited in crates/spelling/data/NOTICE.md.

AI-isms under Editor in the settings window, ai_isms = true, is a separate switch for phrases that read as written by a language model: "delve", "it's important to note", "not just X but Y". They are hints about tone, not mistakes, and the list is ours.

For a chapter or an essay, tag a Heading's subtree +prose on the line under it, or put +prose at the very top to cover the whole Note. That's Writing: nothing in it is read as a Task or a Field, so it raises no Field diagnostics, stays out of the Agenda and opens no completion by itself. Its Headings still fold and show in the Outline, and it ends at the next Heading as deep as the tagged one or shallower.

# Chapter one
+prose
- a list here is just a list

A Markdown file, .md, is a Note that's Writing throughout. It's in the list of Notes, gf and search find it, and Links reach it and its Headings, but nothing in it is a Task. cmd-n makes one when the name you type ends in .md.

4. Selecting #

v selects characters and V selects whole lines. Move to grow the selection, press o to swap which end moves, and press esc to stop.

4.1 Text objects #

After v, or after d, c or y, these pick a piece of the Note. a takes all of it, with the blank lines after it. i takes only what's inside.

Keys Selects
ai The Item here: a paragraph, a list item with its children, a Block, or a Heading with its subtree
ah ih The nearest Heading above, with its subtree or just what's beneath it
ab ib The Block here, with or without its fences
ii What's beneath an Item's own line, or a paragraph's own text

So dah deletes a whole section, and yib copies a Block's contents.

4.2 Expanding a selection #

Press ai again while selecting and the selection widens one step each time: paragraph or list item, then its parent list item, then its Heading, then each parent Heading. - goes back a step. The status bar says nothing wider when you reach the top.

cmd-shift-up and cmd-shift-down do the same without pressing v first. The first press selects the Item at the cursor. They don't apply in Insert mode, where cmd-shift-up keeps its usual meaning of selecting to the top.

With something selected, d, c and y delete, change and copy it, and x deletes it too.

5. Moving Items #

An Item is a paragraph, a list item, a Block, or a Heading with its subtree. Moving one, or any selection, comes down to two steps: select it, then choose how far it's going.

A paragraph carries on over one blank line, so a thought can run to a few stretches of text and still move as one. Two blank lines end it, and so does a line holding only --, which shows nothing while Reading:

This stretch

and this one are one paragraph.


This is the next.
--
And so is this.

5.1 Select what you're moving #

To select Press
The Item at the cursor Nothing, moves use it by default
Exactly the lines you want V, then j or k
The Item, then what holds it cmd-shift-up until it's right, and cmd-shift-down to go back
The section you're in vah

5.2 Move it #

Going Press Then
Past the neighbour above or below [e or ]e Nothing, it moves at once
Somewhere else in this Note m j and k to find the spot, then enter, or esc to cancel
To another Note or Heading SPC i r Type to find it, then enter

For example, to move a section further down its Note, press vah, then m, then j until the line sits where you want it, then enter. To send a list item and its children to another Note, put the cursor on it and press SPC i r. Links to it in the folder follow it to its new Note.

u undoes a swap or a placement. The rest of this section goes through each way of moving in more detail.

5.3 Swap with a neighbour #

For small moves. It happens at once.

Keys Does
[e ]e Swap with the neighbour above or below
opt-up opt-down The same
<< >> Promote or demote
cmd-[ cmd-] The same

These act on the Item at the cursor, or on the selection. An Item only swaps with a neighbour of the same rank, so no neighbouring item to move past means there isn't one. > and < promote and demote while selecting.

5.4 Placing: choose a spot in this Note #

For moves where you want to see where it lands. A thin line shows the gap, and nothing changes until you confirm.

  1. Press m to pick up the Item at the cursor, or select lines first with V, ai, cmd-shift-up or similar and then press m. SPC i m does the same.
  2. Press j and k to step the Insertion line between Items. The view scrolls with it, and the lines you picked up stay tinted.
  3. Press enter or m to put them there, or esc to leave everything as it was.

A few things to expect:

5.5 Refile: send it to another Note or Heading #

  1. Put the cursor on an Item, or select what you want to send. vah takes a whole section.
  2. Press SPC i r.
  3. Type to narrow the list of Headings, or start with / to choose a Note instead.
  4. Press enter.

It goes to the end of that Heading's subtree, or the end of that Note, and both Notes are saved. A selection moves exactly as it stands. The Note must be saved to a file and inside an open folder.

5.6 Changing what an Item is #

SPC i c, then h for a Heading, l for a list item, t for a Task, p for prose, c for a Callout or b for a code Block.

6. Tasks and dates #

Keys Does
enter or SPC m t Next state
SPC m x Done
SPC m w Waiting
SPC m c Cancelled
SPC m a, :archive [days] Archive finished Tasks
SPC m d s Set the Scheduled date
SPC m d d Set the Due date
SPC m d f Follow up: set the Follow-up date, which makes a todo or doing Task waiting
SPC m d t Insert a date
shift-right shift-left With the cursor on a date, a day later or earlier
shift-up shift-down With the cursor on a date, change the part it's on

The Date prompt takes shorthand and plain English, such as fri 3pm, +2w, nov 15 or in two weeks. Offsets count days, weeks, months and years from today (+3, +2w, +1m, +1y), or hours and minutes from now (+2h, +30min): m is a month, as in Org. Typecase's typecase-dates reads them, and its README lists every form.

A Follow-up date, follow:, is when to check back on something you're waiting on someone else for. Giving a todo or doing Task one makes it waiting, whether from SPC m d f, a Capture or a Subcommand, and typing one by hand does the same when you leave Insert mode, as its own undo step. enter still skips waiting. From its day the Task stays on today's Agenda, labelled "follow up", and it's never overdue. Setting a new one after its day has come is a chase, and adds a followed line to the Task's Log beneath it. A run of Log lines folds under the newest, and starts folded.

A Dependency, depends:, says a Task waits on another one. Type depends: on the waiting Task and completion lists the folder's Tasks by title, unfinished first. Picking one puts in its id:, and gives it one first if it has none, even in another Note, which is saved. The status bar names the Task when the cursor is on the Field, and while Reading it shows the title, with what each Task blocks. A Task is Blocked while any Dependency isn't done, and that never changes its state: the Agenda keeps it where its dates put it, labelled "blocked by" what blocks it. A cancelled Dependency still blocks, with a diagnostic asking you to decide, and so does a loop. An id found nowhere blocks nothing, with a diagnostic too.

Marking a Blocked Task done follows done_when_blocked under [tasks] in the config: "tell", the default, does it and says what blocked it, "ask" asks first, and "refuse" leaves it as it is. microfiche task and the MCP server follow it too, and under "ask" they take --anyway, or anyway, once you've said yes.

A Task's children are the Tasks nested beneath it: list items under a list item, and Tasks in a Heading Task's subtree. A Task with children shows how many are done, such as 2/3, while Reading and on the Agenda, where a cancelled child counts as done. With enforce_dependencies = true under [tasks], as Org's org-enforce-todo-dependencies, unfinished children block their parent. blocking:true or blocking:false on one Task overrides that for it. ordered:true on a Task makes its children go in order, each Blocked until those before it are finished, whether or not dependencies are enforced. A cancelled child or earlier sibling never blocks, because cancelling a step of your own is the decision a cancelled Dependency still waits for.

Finishing a Task stamps the day on it as closed:2026-11-13, and reopening it takes the stamp off. Moving between done and cancelled keeps the first day. A Repeat goes back to todo, so its Log records the day instead.

Archive takes finished Tasks out of the way once they've stayed finished archive_after_days days, 14 unless set under [tasks]. SPC m a runs it on the folder, saving the open Note first, :archive 0 takes every finished Task whatever its day, and microfiche archive and the MCP server's archive do the same. Each Task it takes is tagged +archived, which keeps it off the Agenda and out of Queries until one asks for +archived. With archive_to set to a Note, such as "archive.fiche", they're moved to the end of it too, with archived_from: naming the Note they left and their Links following them, as Org's archive file does. A finished Task with no closed: day, from before the stamp or typed by hand, is given today's the first time Archive meets it. A Task with unfinished work nested beneath it stays, so nothing open is hidden, and one that moves takes its subtree along.

7. Finding things #

Keys Opens
cmd-k, cmd-p or SPC SPC The Launcher
gf, cmd-o or SPC f f Open the Launcher on Notes, as cmd-k then / does
SPC s o The Outline of this Note
SPC s h Headings across the folder
cmd-shift-a or SPC a a The Agenda
ctrl-f in the Agenda Show everything, only Tasks or only Events, until the app quits
! or @ first in the Agenda's search Only Tasks or only Events, while it's there
+work or tag:work in the Agenda Only Tasks tagged +work, including inherited Tags; combine with words to narrow further
SPC a i The Inbox
cmd-shift-d or SPC a t Today's daily Note
SPC a r Regenerate this Note's agenda, replacing any edits to it
SPC a c Ask for calendar access again
SPC c c Calendars: the settings window, on its Calendars section, where a switch shows or hides each one
SPC c m Settings, on its MCP Server page: each agent's setup for this window's folder, with a button to copy it
SPC c Config: c Calendars, e the Extensions settings, f the config file, m the MCP server's setup, s Settings
SPC a m Choose an Event and open its meeting Note
enter on an Event in an agenda Notes on it under a Heading in this Note
shift-enter on an Event in an agenda Notes on it in a meeting Note
@ while typing Mention an Event, and enter on it goes to its notes
+ while typing Tag text, and enter on a tag lists everything with it
cmd-k then + Everything tagged, in the Launcher
cmd-shift-f or SPC s q The query box, such as todos +work due:<fri
tab in the query box Finish the word being typed
ctrl-l in the query box Put the query in this Note as a live list
SPC i n Move the Heading at the cursor to a Note of its own, leaving a Link
{{ query todos +sam }} on its own line Becomes a live list on saving, or on enter

The Launcher lists Commands: everything in the leader menu and the menu bar, each with its group, its leader keys and its shortcut, and typing a group such as task or keys such as fs finds them too. Moving through Notes, Headings or the Agenda shows the start of the one selected. A click outside the Launcher closes it, as escape does. The first character you type can change the list: # for Headings, / for Notes, ! for the Agenda and > for Commands, which is also where it starts. gf, cmd-o and SPC f f start it with / already typed; backspace returns to Commands. The Agenda also shows today's Events and the next week's from the Calendar app, once you allow it, and enter on one opens Calendar. Typing a Tag in either the Agenda or the Launcher's ! list keeps its date order and leaves out Events; backspace removes the Tag filter. In the Outline, tab goes into the selected Heading to show only what's beneath it. In a list of Headings, C-l inserts a Link instead of going there.

7.1 Writing a Query #

A Query is words that must all match, written as they are in a Note. The query box, a live list, an agenda Block, microfiche query and the MCP server all read it the same way.

Word Finds
todos Every Task. tasks is the same
open, overdue Tasks not finished, and those past their Due date
blocked Tasks with a Dependency that isn't done, so open -blocked is what can start now
todo doing waiting done cancelled Tasks in that state. is:done is the same
+work, tag:work Anything tagged, Tasks or not
due:<fri, due:>today, on:2026-11-14, follow:<today Due, Scheduled or Follow-up before, after or on a date, written as the Date prompt takes it: today, fri, +1w. One with a space goes in quotes, as due:<"10pm fri", and one with a time compares to the minute
area:ops Tasks with that Field
in:daily/ What's in Notes whose path starts that way
rent, "pay the rent" Words in the title, and a phrase in quotes kept together and in order
-done, !done, NOT done Leaves out what the word finds
+archived Archived Tasks, which every other Query leaves out

For example, todos +work due:<fri -done lists unfinished work due before Friday. A Query saved in a Note keeps its words as written, so due:<fri always means the next Friday.

8. Changing the view #

Keys Turns on and off
SPC t r Reading, the rendered Note
SPC t p The Image and Diagram panel
SPC t i Inline Diagrams
SPC t n Relative line numbers
SPC t h The Heading indent
SPC t d Dark mode
SPC t a, cmd-j The Agent sidebar
SPC t A, cmd-shift-j The Agent sidebar on All Notes

SPC t t lists the appearances, System, Light and Dark, then every theme for light and for dark: Typecase, Gruvppuccin and Nightbrew Cove. Choosing one shows it at once and saves it in [theme] in the config file, so it lasts, and the Capture box shows it too. Saving the config file after changing [theme] by hand shows the change at once. SPC t d swaps light and dark for the session only, until an appearance is chosen.

The Heading indent shows each section 2 columns further in per Heading level, with its contents lined up beneath it. It's only how the Note looks, and the file doesn't change. While it's on, lines wrap slightly earlier in a deeply nested Note. To start with it on, set this in ~/.config/microfiche/config.toml, which SPC c f opens and which completes its sections, settings and values as you type. The same setting is in the settings window, under Editor:

[editor]
heading_indent = true

On a wide screen, max_width stops lines running across the whole window: they wrap after that many characters, or at the window's edge if it comes first. The Heading indent sits outside it, so indented lines hold as many characters as the rest. 0, the default, wraps at the window's edge.

[editor]
max_width = 100

Relative line numbers number each line by how far it is from the cursor's, so 5j or d3k can be read straight off the margin. The cursor's own line keeps its real number. To start with them on:

[editor]
relative_line_numbers = true

8.1 The Agent sidebar #

SPC t a or cmd-j slides the Agent sidebar out over the Note, from the right or the left as Side under Agent in the settings window says, with the cursor in its box: type, and enter asks. It's a coding agent of your own, Claude Code unless another is chosen there, run signed in as you already are and given only Microfiche's MCP server on the window's folder, so it reads and changes Notes as the server lets it and nothing else. Each Note has a conversation of its own, kept between runs, and All Notes has one for the folder as a whole. The agent can read the whole folder from any of them, so a Note's conversation can ask about everything too; it's only where the question is kept. The sidebar's title says which is showing, and the button beside it switches to the other. Opens on, under Agent in the settings window, chooses which a window's sidebar starts on, this Note or All Notes. Header switch there chooses how that button looks: Arrows, naming where it goes, Toggle, lit while All Notes is on, or Hidden, leaving cmd-shift-j. A Link in an answer opens its Note. Math in an answer, $…$ in a line or $$…$$ on its own, is typeset, and a mermaid code block is drawn as its diagram, in the theme's colours. Drag the sidebar's inner edge to widen it, and double-click the edge for its own width again.

Keys Does
SPC t a, cmd-j Slide it out, or back in
SPC t A, cmd-shift-j Switch between the Note's conversation and All Notes, which stays on until switched back. Slides it out on All Notes if it's away
esc Back to the Note, leaving it out
cmd-. Stop the agent answering

The agent's name in the sidebar's header is a menu of the agents too, and choosing one there changes the setting below, from the next message on. Under Agent, the settings window chooses the agent: Claude Code, Pi, oh-my-pi, Pi in Go, or an ACP agent: one from the ACP registry, which is installed into the app's caches the first time it's chosen, or one of your own, by its command line in ACP command, as ~/bin/agent --acp or gemini --acp. A path starts from / or ~, a bare name is found on your PATH, and quotes keep a part with spaces whole. Either way it's kept under [agent.acp] in the config file. The menus at the top of the sidebar choose its model and effort, before you ask anything: the agent is asked what it offers as the sidebar opens, which takes a moment for one spoken to over ACP. Each menu has a box to search by name or provider, with the provider beside each model. Model and effort under Agent in the settings window are the same menus. Either way they're kept in the config file under [agent.chosen], and a choice made before an agent starts is given to it as it does.

The agent works in the window as well as on files. It reads the Note on screen as the editor has it, unsaved edits and all, and what it writes there arrives as an edit that u undoes, left for you to save. It can ask where your cursor and selection are, write there, show you a Note, what a Query finds or the Agenda, and list the calendar's Events. A change it suggests rather than makes opens as a page of its diff:

Keys Does
enter Take the suggestion, as an edit that u undoes
esc, q Drop it
j k, ctrl-d ctrl-u, gg G Scroll

8.2 While Reading #

Keys Does
j k Down and up
C-d C-u Page down and up
gg G Top and end
n N Next and previous Task
x or enter Change the Task's state
C-o Back from a Link
i Back to the text, ready to type
esc Back to the text

9. Files and windows #

cmd-, opens the settings window, a window of its own with a section for General, Appearance, Editor, Tasks, Git, Agent, MCP Server, Apps and Calendars, and a search box that finds any setting by its name, what it says or a word for it. A change is saved in the config file as you make it, a typed one when you press enter or move away from it, and every window shows it at once, except that a window keeps its own SPC t h and SPC t n until the setting changes. A Reset button appears at the top of a section once something on it differs from its default. Keys of your own go in the config file's [keys] sections, which the window doesn't edit: the Config File button under General, SPC c f and the Microfiche menu open the file, and saving it changes the window too. The Capture key is read when the Capture agent starts. General also has Sparkle's automatic checking for updates, and a button to check now.

Keys Does
SPC f s, :w Save
SPC f S Save as
SPC f y Copy the Note's full path, as /Users/you/notes/walks.fiche, for a terminal or another app. File › Copy Path does too
:w! Save over a file that changed on disk
cmd-n, SPC f n New Note: a list like gf's, where you type a path from the folder's root such as essays/chapter-one. The top row makes the Note there, and its folders when it's saved; the rest are Notes that already match, to open instead. tab finishes a folder's name
:note path The same, typed. :note alone starts an untitled Note
cmd-shift-n, SPC w n, :new New window on the same folder, at its list of Notes, so Microfiche can sit in more than one Space. A Note is open in one Tab of one window at a time: opening it from another brings the first forward. cmd-q closes every window, and a Tab with unsaved changes stays open and says so
SPC f p, :e path Open a file or folder by path. A new Note's missing folders are made when it's saved
cmd-shift-o, SPC f o Open a folder
SPC f i Open the Image here
cmd-w, SPC w c Close the Tab, and the window with the last one
cmd-m, SPC w m Minimize the window. SPC w z zooms it and ctrl-cmd-f, SPC w f, makes it full screen
SPC q q, cmd-q Quit
:wq, :x Save and close the Tab, and the window with the last one
SPC q Q Close the window without saving this Note. Other Tabs close too, but one with unsaved changes stays open
:q! Close this Tab without saving, and the window with the last one
cmd-,, SPC c s Open the settings window
SPC c u Check for updates
ctrl-cmd-f Full screen

9.1 Panes and Tabs #

A window can show more than one Note. Split it into Panes, side by side or one above the other, and give any Pane Tabs. Splitting and opening a Tab list the folder's Notes to choose from, and esc leaves the new one empty.

Keys Does
cmd-\, SPC w v, C-w v, :vs Split to the right. :vs walks.fiche opens that Note there
SPC w s, C-w s, :sp Split below, in the same way
cmd-t, SPC w t, :tabnew New Tab in this Pane, in the same way
C-w h C-w j C-w k C-w l, SPC w h and so on Go to the Pane to the left, below, above or to the right
ctrl-tab ctrl-shift-tab, gt gT, SPC w ] SPC w [ Next and previous Tab in this Pane. Helix has no gt or gT
cmd-w, C-w q, SPC w c, :q Close this Tab, and its Pane with the last one in it. :q! closes it without saving

Drag a Tab to another Pane to move it there, to a Pane's edge to split it off, or along its own bar to reorder it. Drag the line between Panes to resize them. The … at the end of a bar splits, adds a Tab, zooms the Pane to fill the window and out again, or closes the Tab. A Tab with unsaved changes shows ● in place of its close button.

C-w and gt work in Normal mode and, except gt, while Reading. The rest work while typing too. The status bar, the Launcher, the Agent sidebar and anything else that opens over a Note are about the Tab in use, whose cursor is the bright one. A Note is open in one Tab at a time, so opening it again goes to that Tab. Following a Link there leaves this Tab as it is, and C-o doesn't come back.

A Refile, an Archive, a pull, a change of Branch or a Task changed from the Agenda that would write a Note with unsaved changes in another Tab asks you to save it first.

10. Version control #

Keys Does
SPC v s Changed files
SPC v d Diff of this Note
SPC v h SPC v H History of this Note, or of the folder
SPC v i, :init Make the folder a repository, committing what's in it
:clone url Clone a repository into a folder you pick, and open it
SPC v o, :remote url Add a remote to push to, origin unless named as :remote name url. Naming one again points it at the new url
SPC v c, :commit message Commit
SPC v p SPC v P Pull and push. Pushing a repository with no commits commits what's there first
SPC v b Switch Branch
SPC v n, :branch name New Branch
SPC v m Keep a Branch
SPC v x Drop a Branch
SPC v r Resolve Conflicts
SPC v a Turn AutoGit on or off

11. Scripts #

A Script in .microfiche/scripts can be run by hand too, and what it makes goes in at the cursor.

Keys Does
SPC x Pick a Script or Extension to run. An Extension that asks for more than it has been allowed shows as a row to allow it first
:name words Run the Script name, with words as its argument

12. Help #

Keys Opens
SPC ? Help, the panel of common keys. Any key closes it
SPC The Leader menu, showing each next key
SPC SPC The Launcher, to search every Command by name

About and Check for Updates are in the app menu, and in the Launcher too, as is everything else in the menu bar. Updates come through Sparkle, which checks on its own and asks before installing.

13. Helix keys, and your own #

Choose Helix for Keys under Editor in the settings window (cmd-,), or set keymap = "helix" under [editor] in the config file (SPC c f) and save it: the keys change at once. Helix selects first and acts after: w selects a word, and d deletes what's selected. With nothing selected, d deletes the character under the cursor. The Leader menu, Reading and the app's shortcuts are the same with either keymap.

Keys Does
h j k l Move, dropping any selection
w b Select the next word, or the one before
x Select the line; each press after takes in the next
v Select mode: moving stretches the selection. v or esc stops
; opt-; Collapse the selection, or flip its ends
% Select everything
opt-o opt-i Select the Item, then what holds it; go back a step
mi ma, then i h b Select inside or around an Item, Heading or Block
d c y Delete, change or copy the selection
i a Type before or after the selection
I A o O Type at the line's start or end; open a line below or above
p P Paste after or before the selection
u U Undo, redo
gh gl gg ge Line start and end; top and end of the Note
[h ]h Previous, next Heading
[e ]e < > Swap with a neighbour; promote, demote
M Start Placing
gd gf ctrl-o za / n N : As in Vim

To change single keys, with either keymap, add sections to the config file. Each mode that has its own keys has a section: normal, visual, reading and placing. A key names a command or a Leader action, and the names complete after the =. "script.name" runs the Script name, "extension.name.command" runs a Command an Extension offers, such as "extension.clock.in", and "none" takes a key away.

[keys.normal]
"ctrl-s" = "file.save"
Q = "edit.delete-line"
g = { a = "cursor.top" }
x = "none"
"ctrl-t" = "script.today"
"ctrl-i" = "extension.clock.in"

Keys are written as characters, or as space, esc, enter or backspace, with ctrl- or alt- in front for a chord. A sequence runs together, as gg, or comes apart, as g g. A key of your own replaces any sequence it would get in the way of, so binding g alone takes away gg. A key that can't be read, or names nothing, is left out, and the status bar says so. Insert mode, the command line and the Leader menu keep their keys.