Skip to content
YeferYV edited this page Feb 24, 2024 · 10 revisions

change/add whichkey keymaps

  • add this to your settings.json
{
  "whichkey.bindingOverrides": [
    {
      "keys": "g.s",
      "name": "Go to line",
      "type": "command",
      "command":"workbench.action.gotoLine",
    }
  ]
}

read more

add your-cool-plugin

  • copy retronvim's init.lua and add your plugins/modification:

    cp ~/.vscode/extensions/yeferyv.retronvim-0.0.2/nvim/init.lua ~/.config/retronvim/init.lua

    add to your settings.json:

    "vscode-neovim.neovimInitVimPaths.linux": "$HOME/.config/retronvim/init.lua"

    open (to test/debug) with:

    NVIM_APPNAME=retronvim nvim

slow hjkl workaround

  • add this to your keybindings.json, but won't restore cursor position when moving up and down, neither <number>h,<number>j,<number>k,<number>l will be supported

    { "key": "h", "command": "cursorLeft", "when": "editorTextFocus && neovim.mode == 'normal' && ( isLinux || isMac || isWindows || isWeb)" },
    { "key": "j", "command": "cursorDown", "when": "editorTextFocus && neovim.mode == 'normal' && ( isLinux || isMac || isWindows || isWeb )" },
    { "key": "k", "command": "cursorUp", "when": "editorTextFocus && neovim.mode == 'normal' && ( isLinux || isMac || isWindows || isWeb )" },
    { "key": "l", "command": "cursorRight", "when": "editorTextFocus && neovim.mode == 'normal' && ( isLinux || isMac || isWindows || isWeb )" }
    

additional chrome extensions:

additional vscode extensions:

Clone this wiki locally