feat(tui): add :create command, introduce :files/:explorer toggles, default filter to glob and update UI hints

This commit is contained in:
2025-10-13 21:59:03 +02:00
parent 58dd6f3efa
commit cc2b85a86d
4 changed files with 140 additions and 54 deletions

View File

@@ -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.