v0.9.0 Local keybinding for specific file type (apply if name contains substr)
"localKeys": [ // local keymapping for specific type of file
{
"filenameContains": ["gp"],
"LocalKeys": [
{
"cmd": "<CMD>GpChatRespond<CR>",
"key": "<C-k>k",
"modes": ["n", "i", "v"]
}
]
}
]
New .localKeys
section to create local only keymapping
My usecase is when I create file named gp.md
, gp4.md
, eng-trans.md
, eng-prov.md
,
I will bind GpChatRespond
to the current buffer