vim_edit
Modify buffer content in a Vim environment using insert, replace, or replaceAll modes. Specify start line, mode, and text to edit efficiently within the mcp-neovim-server.
Instructions
Edit buffer content using insert, replace, or replaceAll modes
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| lines | Yes | The text content to insert or use as replacement | |
| mode | Yes | Whether to insert new content, replace existing content, or replace entire buffer | |
| startLine | Yes | The line number where editing should begin (1-indexed) | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "lines": {
      "description": "The text content to insert or use as replacement",
      "type": "string"
    },
    "mode": {
      "description": "Whether to insert new content, replace existing content, or replace entire buffer",
      "enum": [
        "insert",
        "replace",
        "replaceAll"
      ],
      "type": "string"
    },
    "startLine": {
      "description": "The line number where editing should begin (1-indexed)",
      "type": "number"
    }
  },
  "required": [
    "startLine",
    "mode",
    "lines"
  ],
  "type": "object"
}