新装vscode的vim配置

1. 个人配置

  • vim复制粘贴的常用快捷键
  • 字体大小
  • 保存后自动
  • 自动探测缩进
    settings.json配置文件如下
{
    
    
    "python.languageServer": "Jedi",
    "files.associations": {
    
    },
    "vim.handleKeys": {
    
    
        "<C-c>": false,
        "<C-v>": false,
        "<C-a>": false,
        "<C-w>": false,
        "<C-x>": false,
        "<C-g>": false,
        "<C-d>": false,
        "<C-f>": false, //屏蔽ctrl + f//可以已windows的方式查找//不过就不能使用/来查找了
        "<tab>": false,
    },
    "cmake.configureOnOpen": true,
    "editor.fontSize": 14,
    "python.linting.pylintEnabled": true,
    "python.linting.pylintArgs": [
        "--disable=E0401"
    ],
    "python.linting.flake8Enabled": true,
    "python.formatting.provider": "autopep8",
    "python.formatting.autopep8Args": [
        "--max-line-length=200"
    ],
    "C_Cpp.updateChannel": "Insiders",
    "go.gopath": "/home/hhh/extdisk1/github.com/ngrok",
    "go.inferGopath": true,
    "window.zoomLevel": 0,
    "go.useLanguageServer": true,
    // "editor.codeActionsOnSave": null,
    "extensions.ignoreRecommendations": true,
    "editor.formatOnPaste": true,
    "editor.detectIndentation": true,
    "[javascript]": {
    
    
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "emmet.excludeLanguages": [
        "[javascriptreact]"
    ],
    // "editor.find.autoFindInSelection": "always",
}

安装常用插件

  • vim
  • python
  • git
  • shell
  • C/C++
  • C/C++ Extension Pack
  • react
  • CMake
  • ESLint, javascript

猜你喜欢

转载自blog.csdn.net/V__KING__/article/details/116892952