Skip to content

Preview

ibrahim dursun edited this page Mar 7, 2025 · 2 revisions

Preview

You can open the preview window by pressing p.

Preview window displays output of the jj show command of the selected revision. You can specify extra arguments you want to be passed to the jj show command in the preview.extra_args of the configuration file.

For example, to show the summary along with the diff then you can use the following configuration:

[preview]
extra_args = ["--summary", "--git"]

If the currently selected item is a file, then jj diff output is displayed.

While the preview window is showing, you can press; ctrl+n to scroll one line down, ctrl+p to scroll one line up, ctrl+n to scroll half page down, ctrl+u to scroll half page up.

Additionally, you can press tab to focus in and out of the preview window. Once in the focus mode, you can use normal (e.g. j, k, d, u) navigation keys as they are not bound to the revision tree view.

GIF

Clone this wiki locally