mirror of
https://github.com/sadan4/nvim.git
synced 2025-01-18 03:03:29 -05:00
15 lines
402 B
JavaScript
Executable file
15 lines
402 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
const keys = "lkjhcq34erpo095\\fud";
|
|
|
|
/**
|
|
* @param key {string}
|
|
*/
|
|
const makeKeymapping = (key) => {
|
|
return {
|
|
key: `ctrl+shift+alt+${key.toLowerCase()}`,
|
|
command: "vscode-neovim.send",
|
|
when: "editorTextFocus && neovim.mode !== insert",
|
|
args: `<M-C-S-${key.toUpperCase()}>`
|
|
}
|
|
}
|
|
console.log(JSON.stringify(keys.split("").map(makeKeymapping)))
|