feat(tui): add :create command, introduce :files/:explorer toggles, default filter to glob and update UI hints
This commit is contained in:
@@ -56,6 +56,10 @@ const COMMANDS: &[CommandSpec] = &[
|
||||
keyword: "open",
|
||||
description: "Open a file in the code view",
|
||||
},
|
||||
CommandSpec {
|
||||
keyword: "create",
|
||||
description: "Create a file (creates missing directories)",
|
||||
},
|
||||
CommandSpec {
|
||||
keyword: "close",
|
||||
description: "Close the active code view",
|
||||
@@ -196,6 +200,14 @@ const COMMANDS: &[CommandSpec] = &[
|
||||
keyword: "layout load",
|
||||
description: "Restore the last saved pane layout",
|
||||
},
|
||||
CommandSpec {
|
||||
keyword: "files",
|
||||
description: "Toggle the files panel",
|
||||
},
|
||||
CommandSpec {
|
||||
keyword: "explorer",
|
||||
description: "Alias for files",
|
||||
},
|
||||
];
|
||||
|
||||
/// Return the static catalog of commands.
|
||||
|
||||
Reference in New Issue
Block a user