tui: add /editor command to autocomplete for opening external editor
This commit is contained in:
parent
2a7ab45605
commit
31d0caee38
1 changed files with 5 additions and 0 deletions
|
|
@ -255,6 +255,11 @@ export function Autocomplete(props: {
|
||||||
description: "toggle theme",
|
description: "toggle theme",
|
||||||
onSelect: () => command.trigger("theme.switch"),
|
onSelect: () => command.trigger("theme.switch"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
display: "/editor",
|
||||||
|
description: "open editor",
|
||||||
|
onSelect: () => command.trigger("prompt.editor"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
display: "/help",
|
display: "/help",
|
||||||
description: "show help",
|
description: "show help",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue