Open6
VSCode(Cursor)のカスタマイズで参考にした記事
ファイルエクスプローラでEnterを押下したらファイルが開いてほしかった
neovim(Lazyvim)的なキーマップ
[
// ...
// LSP関連
{
"key": "g d",
"command": "editor.action.revealDefinition",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "g shift+i",
"command": "editor.action.goToImplementation",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "g y",
"command": "editor.action.goToTypeDefinition",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "g shift+d",
"command": "editor.action.revealDeclaration",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "g b",
"command": "workbench.action.navigateBack",
"when": "neovim.mode == normal && editorTextFocus",
},
{
"key": "shift+k",
"command": "editor.action.showHover",
"when": "neovim.mode == normal && editorTextFocus",
}
]
neovimライクにfuzzy finderする
[
{
"key": "space space",
"command": "find-it-faster.findFiles",
"when": "neovim.mode == normal && editorTextFocus",
},
{
"key": "space /",
"command": "find-it-faster.findWithinFiles",
"when": "neovim.mode == normal && editorTextFocus",
},
]
ファイルの先頭に移動したい。
// like vim
{
"key": "g g",
"command": "cursorTop",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
next error的なやつ
[
{
"key": "] e",
"command": "editor.action.marker.nextInFiles",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
{
"key": "[ e",
"command": "editor.action.marker.prevInFiles",
"when": "neovim.mode == normal && editorHasDefinitionProvider && editorTextFocus"
},
]
このプラグインを消したら爆速になった