moved --vim to Other Settings

This commit is contained in:
Paul Gauthier 2024-06-12 11:30:26 -07:00
parent 73f9b67761
commit a07492b90a
6 changed files with 45 additions and 153 deletions

View file

@ -38,9 +38,6 @@ cog.outl("```")
#######
# Main:
## Use VI editing mode in the terminal (default: False)
#vim: false
## Specify the OpenAI API key
#openai-api-key:
@ -203,6 +200,9 @@ cog.outl("```")
#################
# Other Settings:
## Use VI editing mode in the terminal (default: False)
#vim: false
## Specify the language for voice using ISO 639-1 code (default: auto)
#voice-language: en

View file

@ -14,8 +14,8 @@ from aider.args import get_md_help
cog.out(get_md_help())
]]]-->
```
usage: aider [-h] [--vim] [--openai-api-key] [--anthropic-api-key]
[--model] [--opus] [--sonnet] [--4] [--4o] [--4-turbo]
usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model]
[--opus] [--sonnet] [--4] [--4o] [--4-turbo]
[--35turbo] [--models] [--openai-api-base]
[--openai-api-type] [--openai-api-version]
[--openai-api-deployment-id] [--openai-organization-id]
@ -35,7 +35,7 @@ usage: aider [-h] [--vim] [--openai-api-key] [--anthropic-api-key]
[--dry-run | --no-dry-run] [--commit] [--lint]
[--lint-cmd] [--auto-lint | --no-auto-lint]
[--test-cmd] [--auto-test | --no-auto-test] [--test]
[--voice-language] [--version] [--check-update]
[--vim] [--voice-language] [--version] [--check-update]
[--skip-check-update] [--apply] [--yes] [-v]
[--show-repo-map] [--show-prompts] [--message]
[--message-file] [--encoding] [-c] [--gui]
@ -52,11 +52,6 @@ Aliases:
## Main:
### `--vim`
Use VI editing mode in the terminal (default: False)
Default: False
Environment variable: `AIDER_VIM`
### `--openai-api-key OPENAI_API_KEY`
Specify the OpenAI API key
Environment variable: `OPENAI_API_KEY`
@ -331,6 +326,11 @@ Environment variable: `AIDER_TEST`
## Other Settings:
### `--vim`
Use VI editing mode in the terminal (default: False)
Default: False
Environment variable: `AIDER_VIM`
### `--voice-language VOICE_LANGUAGE`
Specify the language for voice using ISO 639-1 code (default: auto)
Default: en

View file

@ -10,11 +10,31 @@ Run `aider` with the source code files you want to edit.
These files will be "added to the chat session", so that
aider can see their
contents and edit them for you.
They can be existing files or the name of files you want
aider to create for you.
```
aider <file1> <file2> ...
```
At the aider `>` prompt, ask for code changes and aider
will edit those files to accomplish your request.
```
$ aider factorial.py
Aider v0.37.1-dev
Models: gpt-4o with diff edit format, weak model gpt-3.5-turbo
Git repo: .git with 258 files
Repo-map: using 1024 tokens
Use /help to see in-chat commands, run with --help to see cmd line args
───────────────────────────────────────────────────────────────────────
>`Make a program that asks for a number and prints its factorial
...
```
## Adding files
Just add the files that the aider will need to *edit*.