Skip to content

Navigation ​

LazyFire is driven by the keyboard, with vim-style keys. Keys depend on the focused panel, so press ? whenever you want to see what works right now.

Panel layout ​

The left side has four stacked panels. Projects and Databases shrink to one line when you are not in them. Details and Commands are on the right, and the bar at the bottom shows the keys for the focused panel.

╭─ Projects ─────────╮╭─ Details ──────────────────────────╮
│ * my-app-prod      ││ ─── users/u_alice ───              │
╰────────────────────╯│ Size: 312 B / 1MB  Depth: 1 / 20   │
╭─ Databases ────────╮│                                    │
│ * (default)        ││ {                                  │
╰────────────────────╯│   "name": "Alice",                 │
╭─ Collections ──────╮│   "plan": "pro"                    │
│ * users            ││ }                                  │
│   orders           │╰────────────────────────────────────╯
╰────────────────────╯╭─ Commands ─────────────────────────╮
╭─ Tree ─────────────╮│ ✓ api ListDocuments(users) → 3 docs│
│ * u_alice          │╰────────────────────────────────────╯
╰────────────────────╯
 space expand  enter open  / filter  F query  tab panels  ? help

Moving between panels ​

KeyAction
Tab / l / →Next left panel
Shift+Tab / h / ←Previous left panel
1 / 2 / 3 / 4Focus Projects / Databases / Collections / Tree
0Focus Details
Esc or Tab in DetailsGo back to the panel you came from

Enter on an item also moves you along: it opens a database's collections, a collection's documents, or a document in Details.

Moving within a panel ​

KeyAction
j / ↓Move down
k / ↑Move up
g / HomeGo to top
G / EndGo to bottom
PgDn / PgUpPage down / up
Ctrl+d / Ctrl+uHalf page down / up
J / KDown / up 5 lines (Details)

In Details these keys move a highlighted cursor line. y copies the value on that line and B decodes it as base64.

Selecting and opening ​

KeyAction
SpaceSelect a project or database, open a collection, expand a document
EnterOpen the item and move to the next panel
vToggle select mode in the tree (see Visual Select Mode)

Tabs ​

The collections panel has six tabs: Collections, Functions, Storage, Auth, Rules and Indexes. Press [ or ] to switch between them. Only three tab titles fit at once, so arrows in the title show that more tabs are hidden.

When you look at a function in Details, [ and ] switch between its Details and Logs tabs.

Tree ​

KeyAction
SpaceExpand or collapse a document's subcollections, or a subcollection's documents
EnterOpen a document in Details, or expand a subcollection
CCollapse everything
QGo back from query results to the collection's documents

Keybindings menu ​

Press ? to open the list of keys for the focused panel. It is split into the panel's own actions, navigation and global keys.

  • Type / to filter the list, then Enter to run the selected key.
  • Keys that can't run right now are dimmed, with the reason next to them.
  • Esc, q or ? closes the menu.

When you press a key that can't run, the reason also shows at the bottom right of the screen, for example "No document open".

Mouse ​

ActionEffect
ClickFocus a panel and select the row
Double clickOpen the row, same as Enter
WheelMove the selection, or scroll Details
Click a tab titleSwitch to that tab

Other keys ​

KeyAction
/Filter the focused panel (see Filtering & Search)
rRefresh the focused panel
@Command log
q / Ctrl+cQuit

The full list is in the keybindings reference.

Released under the MIT License.