Skip to content

copy

Copy the selected node to the operating system’s clipboard and continue browsing. :cp is an alias for :copy. To change the target, select a different node in the tree first.

:copy path copies the selected node’s path. Within focus, paths are relative to the opened subtree.

Copy the selected node's path with copy path

:copy value copies the selected scalar value. Use subtree for arrays and objects.

Select a string node and copy its value with copy value

:copy subtree copies the selected node and its descendants.

Select an object and copy its subtree with copy subtree

Available in the input, focus, and jaq views. In side-by-side mode, it targets the active pane. OSC52 and external copy commands are not supported.

Use preview to select and copy part of a string.