mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
feat: Add /edit as an alias for /editor command
This commit is contained in:
parent
b591b64d3f
commit
0549e7079d
1 changed files with 4 additions and 0 deletions
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue