Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Vim Command AssistantNew to Visual Studio Code? Get it now.
Vim Command Assistant

Vim Command Assistant

yasan

|
13 installs
| (0) | Free
AI-powered Vim command learning assistant
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ask Vim

AI-powered Vim command learning assistant for VSCode that provides context-aware command suggestions based on your cursor position.

Features

  • 💡 Ask AI directly about Vim commands and operations
  • 🎯 Context-aware responses considering cursor position and code context
  • 🌏 Multi-language support (English, Japanese, Chinese, Korean, French, German, Spanish)
  • 🤖 Choice of LLM providers: Google AI (Gemini) or Amazon Bedrock
  • 📊 Clear presentation of optimal operations and alternatives

Requirements

Authentication credentials for one of the following AI APIs:

Google AI (Gemini)

  • Google AI API Key

Amazon Bedrock

  • AWS credentials (either):
    • AWS Profile Name
    • Access Key ID and Secret Access Key

Extension Settings

This extension contributes the following settings:

Basic Settings

  • vim-command-assistant.responseLanguage: Set response language (default: "English")
    • Supported languages: "English", "Japanese", "Chinese", "Korean", "French", "German", "Spanish"

LLM Provider Settings

  • vim-command-assistant.llmProvider: Select LLM provider ("google" or "bedrock")

Google AI (Gemini) Settings

  • vim-command-assistant.googleApiKey: Google AI API Key
  • vim-command-assistant.googleModelId: Model ID (default: "gemini-2.0-flash-lite-preview-02-05")

Amazon Bedrock Settings

  • vim-command-assistant.bedrockProfile: AWS Profile Name (optional)
  • vim-command-assistant.bedrockRegion: AWS Region (default: "us-east-1")
  • vim-command-assistant.bedrockModelId: Model ID (default: "anthropic.claude-3-5-haiku-20241022-v1:0")
  • vim-command-assistant.bedrockAccessKeyId: AWS Access Key ID (if not using profile)
  • vim-command-assistant.bedrockSecretAccessKey: AWS Secret Access Key (if not using profile)
  • vim-command-assistant.bedrockSessionToken: AWS Session Token (optional)

Usage

  1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Select "Vim: Show Command Help"
  3. Enter your Vim-related question (e.g., "How do I delete this line?" "How to replace a word?")
  4. AI will suggest optimal Vim commands considering your current cursor position and code context

Responses are displayed in the following format:

  • Optimal operation method (key input and description)
  • List of alternative operation methods

Known Issues

  • Some Vim plugin-specific commands may not be considered
  • Suggestions might be limited to basic operations for complex operation sequences

Release Notes

0.0.1

  • Initial release
  • Support for Google AI (Gemini) and Amazon Bedrock
  • Multi-language support implementation
  • Context-aware responses considering cursor position

For Developers

Developed following the extension guidelines:

  • Extension Guidelines

Documentation

  • English
  • 日本語

License

MIT

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft