Set vimrc
set_vimrcWrite a vimrc, replacing the whole text; an empty text clears it. Your own, or with 'projectKey' that project's (its owner or a board administrator only). Up to 8000 characters. Lines the editor does not read are saved anyway and returned in 'warnings'. For your own, 'ignoreProjectVimrc' switches projects' vimrcs off or on for you; give 'vimrc', 'ignoreProjectVimrc' or both. Read: 'set' with number (nu), hlsearch (hls), incsearch (is), ignorecase (ic), smartcase (scs), wrapscan (ws) and clipboard=unnamed|unnamedplus in vim's spellings (no…, inv…, !, &); 'syntax on|off'; 'let mapleader = ","'; and map, nmap, vmap, xmap, imap, noremap, nnoremap, vnoremap, xnoremap, inoremap of plain keys and . Comments (") and blank lines are fine. Any other line is not an error: it is kept, skipped by the editor and named in 'warnings' with its line.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_vimrc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vimrc | No | The whole vimrc. Left out (for your own): the text is kept and only the switch changes. | |
| projectKey | No | A project key, e.g. 'PM', to write that project's vimrc. Left out: your own. | |
| ignoreProjectVimrc | No | Your own only: true — projects' vimrcs do not apply to you. |