← XeFM English | 日本語 · crftwr/xefm on GitHub · craftware

Quick View

English | 日本語

Choose View → Quick View (quick_view) and the other pane becomes a preview of the item under the cursor. Move the cursor and the preview follows. Run it again, or press Esc, to close it. Its key depends on your keymap preset — see Keymap Presets.

Item under the cursor The preview shows
Text file the start of the file (up to 256 KB), syntax-highlighted as in the text viewer
Picture the picture, fitted to the pane
Other binary file a hex dump of the first 512 bytes
Folder how many files and folders it holds and their total size, counted while you watch

Above the content, a header line names the item, with its size and date.

Working with it

Speed

The preview waits until the cursor stops for a moment, so moving quickly down a long listing doesn’t read every file it passes.

On a remote location (ssh://, s3://, inside an archive), only files up to 256 KB are read. Larger files show their size and date. Remote folders are not counted, because counting would walk the whole tree over the network.

In a terminal that can’t draw pictures, a picture shows only its details.

See also