tui: add /editor command to autocomplete for opening external editor
parent
2a7ab45605
commit
31d0caee38
|
|
@ -255,6 +255,11 @@ export function Autocomplete(props: {
|
|||
description: "toggle theme",
|
||||
onSelect: () => command.trigger("theme.switch"),
|
||||
},
|
||||
{
|
||||
display: "/editor",
|
||||
description: "open editor",
|
||||
onSelect: () => command.trigger("prompt.editor"),
|
||||
},
|
||||
{
|
||||
display: "/help",
|
||||
description: "show help",
|
||||
|
|
|
|||
Loading…
Reference in New Issue