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,
"<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,
"extensions.ignoreRecommendations": true,
"editor.formatOnPaste": true,
"editor.detectIndentation": true,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"emmet.excludeLanguages": [
"[javascriptreact]"
],
}
安装常用插件
- vim
- python
- git
- shell
- C/C++
- C/C++ Extension Pack
- react
- CMake
- ESLint, javascript