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
| Action | Arguments/Options | Description |
|---|---|---|
close | — | Close the spot panel |
arrow | --up, --down, --left, --right | Scroll content one line in the given direction |
swipe | --up, --down | Scroll by one page |
copy | — | Copy the content of the currently highlighted cell |
plugin | args | Run a plugin from the spot context |
noop | — | No operation |
help | — | Open 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.