Skip to content

feat: ability to pick a model when launching claude #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheLazyLemur
Copy link

Would like to add the ability to use Claude with other avliable models using the --model flag on Claude CLI.

Will clean up this PR and document correctly and add the correct user commands if this is something you would consider?

Copy link
Member

@ThomasK33 ThomasK33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for this PR, and that's a great idea.

I think the docs could be updated to use a mapping of <leader>am to the model picker command?

Comment on lines +335 to +340
local models = {
{ name = "Claude Opus 4 (Latest)", value = "claude-opus-4-20250514" },
{ name = "Claude Sonnet 4 (Latest)", value = "claude-sonnet-4-20250514" },
{ name = "Claude 3.7 Sonnet (Latest)", value = "claude-3-7-sonnet-latest" },
{ name = "Claude 3.5 Haiku (Latest)", value = "claude-3-5-haiku-latest" },
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we can make this a user-configurable table?
This could be included in the defaults, and then when a new model version is released, one can update their configuration.

@ThomasK33
Copy link
Member

While we're on the topic of adding the model flag to the terminal command, I’m considering extending the :ClaudeCode command to accept arbitrary arguments and flags (think of it like :ClaudeCode --continue), then passing them verbatim to the command invocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants