I don’t think there’s a shortcut for it, but now I think it would make sense to just do it on second press of the auto complete key. And even if you press it twice by accident, you can Ctrl+Backspace
by whole words to remove it.
But for now, since you want to create a page this way, you don’t need to add it to the picker itself, which allows an entirely different way of getting that:
```space-script
silverbullet.registerCommand({name: "Page: Create Subpage"}, async () => {
const current = await syscall("editor.getCurrentPage");
const name = await syscall("editor.prompt", "Enter name of new page", current + "/");
if (!name) {
return;
}
await syscall("editor.navigate", name);
});
```
The problem is that sometimes the cursor is placed at the start of the prompt, but if you press down arrow, it moves to the end.