-
Notifications
You must be signed in to change notification settings - Fork 36
Showcase
Bruno Bigras edited this page Jan 10, 2025
·
8 revisions
This section is meant as a community-driven list of user workflows and ways to use television in different contexts to inspire others.
This is a drop-in file editor setup for the zed editor leveraging television, a task, and keybinding.
- Install television
- Add a task for a file finder (
zed: open tasks
command)
tasks.json
{
"label": "File Finder",
"command": "zeditor \"$(tv files)\"",
"hide": "always",
"allow_concurrent_runs": true,
"use_new_terminal": true
},
- Add keybinding to open file finder in center terminal (
zed: open keymap
command)
keymap.json
[
{
"bindings": {
// replace file_finder::Toggle
"cmd-p": [
"task::Spawn",
{ "task_name": "File Finder", "reveal_target": "center" }
]
}
}
]
This should result in an interaction similar to the GIF above.