mirror of
https://github.com/alexpasmantier/television.git
synced 2025-07-29 06:11:37 +00:00
20 lines
378 B
TOML
20 lines
378 B
TOML
[metadata]
|
|
name = "files"
|
|
description = "A channel to select files and directories"
|
|
requirements = ["fd", "bat"]
|
|
|
|
[source]
|
|
command = ["fd -t f", "fd -t f -H"]
|
|
|
|
[preview]
|
|
command = "bat -n --color=always '{}'"
|
|
env = { BAT_THEME = "ansi" }
|
|
|
|
[keybindings]
|
|
shortcut = "f1"
|
|
ctrl-f12 = "edit"
|
|
|
|
[actions.edit]
|
|
description = "Opens the selected entry with Neovim"
|
|
command = "nvim '{}'"
|