Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NVIM_SOCKET_PATH | No | Set to the path of your Neovim socket. Defaults to '/tmp/nvim' if not specified. | /tmp/nvim |
| ALLOW_SHELL_COMMANDS | No | Set to 'true' to enable shell command execution (e.g. `!ls`). Defaults to false for security. | false |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| neovim_workflow | Get help with common Neovim workflows and editing tasks |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Current neovim session | Current neovim text editor session |
| Open Neovim buffers | List of all open buffers in the current Neovim session |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vim_buffer | Get buffer contents with line numbers |
| vim_command | Execute Vim commands with optional shell command support |
| vim_status | Get comprehensive Neovim status including cursor position, mode, marks, and registers |
| vim_edit | Edit buffer content using insert, replace, or replaceAll modes |
| vim_window | Manage Neovim windows: split, close, and navigate between windows |
| vim_mark | Set named marks at specific positions in the buffer |
| vim_register | Manage Neovim register contents |
| vim_visual | Create visual mode selections in the buffer |
| vim_buffer_switch | Switch between buffers by name or number |
| vim_buffer_save | Save current buffer or save to specific filename |
| vim_file_open | Open files into new buffers |
| vim_search | Search within current buffer with regex support and options |
| vim_search_replace | Find and replace with global, case-insensitive, and confirm options |
| vim_grep | Project-wide search using vimgrep with quickfix list |
| vim_health | Check Neovim connection health |
| vim_macro | Record, stop, and play Neovim macros |
| vim_tab | Manage Neovim tabs: create, close, and navigate between tabs |
| vim_fold | Manage code folding: create, open, close, and toggle folds |
| vim_jump | Navigate Neovim jump list: go back, forward, or list jumps |