diff --git a/aider/commands.py b/aider/commands.py index 79fd549c7..fe55ef279 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1482,6 +1482,10 @@ class Commands: user_input = pipe_editor(initial_content, suffix="md", editor=self.editor) if user_input.strip(): self.io.set_placeholder(user_input.rstrip()) + + def cmd_edit(self, args=""): + "Alias for /editor: Open an editor to write a prompt" + return self.cmd_editor(args) def cmd_think_tokens(self, args): "Set the thinking token budget (supports formats like 8096, 8k, 10.5k, 0.5M)"