The app
The Vim window
Vim's panes, modes and colon commands, with the map beside your code, and the map's own Vim keys.
The Vim window is Vim’s panes, Vim’s modes and : commands, with the map
beside your code. Choose it on the tutorial’s first step, in Settings under
Appearance, Editor mode, or with Vim mode in the View menu. Your choice
is kept.
The leader
The leader key is Space, unless you change it. It opens a menu of everything, and each row shows the next key, so you can find a command by reading and learn its keys as you go.
Commands and options
: commands work as in Vim. :set changes an option for this session only;
Settings saves it for good. Options such as number, relativenumber,
scrolloff, ignorecase and smartcase can also be set for one project in
its .graphide/config.toml. See Settings.
The map
The map takes Vim’s keys too.
| Keys | Does |
|---|---|
| h j k l, or the arrows | Move between cards |
| Enter | Go into the card |
| Backspace | Go up |
| gg and G | The first and the last card |
| Ctrl+D, Ctrl+U, Ctrl+F, Ctrl+B | Half a page and a page, down and up |
| ]] and [[ | The next and the previous card beside this one |
| f and F | Jump to a card by its hint, or jump into it |
| / and ? | Search forward and back; n and N for the next and previous match |
| * and # | The next and the previous card like this one |
| K | What this card is |
| + or =, and - | Zoom in and out |
| zo, zc, za | Zoom into the card, out to its parent, or back and forth |
| zr and zm | More and less detail |
| zR and zM | Everything, and the whole map |
| zz, zt, zb | Put this card in the middle, at the top or at the bottom |
| gf | Open its code |
| gr | What uses it |
| gd | What it depends on |
| gI | Its implementations |
| ge | Every card it is joined to |
| v and V | Choose cards |
| dd | Hide the card, or take a box apart |
| cw | Rename |
| cc | Rewrite its description |
| yy | Yank it as a reference |
| p and P | Put what was yanked into the card, or beside it |
| o and O | Add a card after or before |
| a | Add a card inside |
| >> and << | Nest it in the card before, or move it up a level |
| gl | Draw a line between cards |
| Ctrl+G | Group the chosen cards |
| u and Ctrl+R | Undo and redo |
| . | Do it again |
| m and ’ | Mark the card with the next key, and fly back to it |
With cards chosen, d, y, c, > and < act on all of them at once.
The agents’ list
| Keys | Does |
|---|---|
| j and k | Move |
| Enter | Press the row: open a group, or the agent’s page |
| gd | The agent’s card on the map |
| dd | Stop and archive |
| zz | Snooze: archive it for a while, then be reminded |
| gp | Pin to the top |
| za, zo, zc | Fold or open a group |
| zR and zM | Open or fold every group |
The Vim keys elsewhere
If you like Vim’s modes but not its window, Settings, Keyboard, How keys behave gives the Normal window Vim’s typing. The other way round works too.
These docs describe Graphide 0.2.16, the latest release. Something wrong or missing? Tell us onDiscord or at hello@graphide.com.