Skip to main content

Spot ([spot]) Layer

The [spot] layer controls the file information panel (also called the spot panel), which displays detailed metadata and preview content for the currently hovered file.

Actions

ActionArguments/OptionsDescription
closeClose the spot panel
arrow--up, --down, --left, --rightScroll content one line in the given direction
swipe--up, --downScroll by one page
copyCopy the content of the currently highlighted cell
pluginargsRun a plugin from the spot context
noopNo operation
helpOpen help for the spot layer

Example Configuration

[spot]
prepend_keymap = [
{ on = "q", run = "close", desc = "Close spot" },
{ on = "<Esc>", run = "close", desc = "Close spot" },
]
append_keymap = [
{ on = "j", run = "arrow --down", desc = "Scroll down" },
{ on = "k", run = "arrow --up", desc = "Scroll up" },
{ on = "h", run = "arrow --left", desc = "Scroll left" },
{ on = "l", run = "arrow --right", desc = "Scroll right" },
{ on = "<C-d>", run = "swipe --down", desc = "Page down" },
{ on = "<C-u>", run = "swipe --up", desc = "Page up" },
{ on = "y", run = "copy", desc = "Copy cell" },
]
tip

The copy action copies the currently focused cell's text to the system clipboard, which is useful for extracting file paths or checksums from the metadata panel.