mcp-neovim-server

by bigcodegen
Verified

vim_edit

Edit lines using insert or replace in the VIM editor.

Input Schema

NameRequiredDescriptionDefault
linesYesLines of strings to insert or replace
modeYesMode for editing lines. insert will insert lines at startLine. replace will replace lines starting at the startLine to the end of the buffer.
startLineYesLine number to start editing

Input Schema (JSON Schema)

{ "properties": { "lines": { "description": "Lines of strings to insert or replace", "type": "string" }, "mode": { "description": "Mode for editing lines. insert will insert lines at startLine. replace will replace lines starting at the startLine to the end of the buffer.", "enum": [ "insert", "replace" ], "type": "string" }, "startLine": { "description": "Line number to start editing", "type": "number" } }, "required": [ "startLine", "mode", "lines" ], "type": "object" }