Skip to content

Navigation

Use the keyboard to navigate the tree and adjust the display. The keys below are the defaults.

Use j / k or / to move to the next or previous visible item.

Move up and down

  • l / expands a collapsed node or moves to its first child if it is already expanded.
  • h / collapses an expanded node or moves to its parent if it is collapsed or has no children.
  • H moves to the parent without changing the expansion state.

Move to a parent or child

Use J / K to move to the next or previous sibling without stepping through each descendant.

Move between siblings

Use Space / Enter to expand or collapse the selected array or object.

Expand or collapse the selected node

Press e to expand everything or E to collapse everything. Depending on your settings, collapsed containers display the number of immediate children.

Expand or collapse everything

Use g / Home to move to the beginning or G / End to move to the end.

Move to the beginning or end

  • PageDown / Ctrl+F moves down one page.
  • PageUp / Ctrl+B moves up one page.
  • Ctrl+D moves down half a page.
  • Ctrl+U moves up half a page.

Move by page

Press z to switch between wrapping and truncating long lines. Changing the display does not change the original values.

Toggle line wrapping

Press Alt+N to show or hide line numbers.

Toggle line numbers

See goto for path navigation and completion, and config for saving display settings.