Open6

VSCode(Cursor)のカスタマイズで参考にした記事

budougumi0617budougumi0617

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",
  }
]
budougumi0617budougumi0617

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"
  },
]