🔧 Continued to adjust vscode settings to be more vim
This commit is contained in:
parent
271e052f37
commit
0f62beb6b2
2 changed files with 44 additions and 16 deletions
|
|
@ -1,5 +1,9 @@
|
|||
// Place your key bindings in this file to override the defaults
|
||||
[
|
||||
{
|
||||
"key": "ctrl+tab",
|
||||
"command": "workbench.action.nextEditor"
|
||||
},
|
||||
{
|
||||
"key": "alt+tab",
|
||||
"command": "workbench.action.nextEditor"
|
||||
|
|
@ -8,6 +12,10 @@
|
|||
"key": "alt+right",
|
||||
"command": "workbench.action.nextEditor"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+shift+tab",
|
||||
"command": "workbench.action.previousEditor"
|
||||
},
|
||||
{
|
||||
"key": "alt+shift+tab",
|
||||
"command": "workbench.action.previousEditor"
|
||||
|
|
@ -16,10 +24,27 @@
|
|||
"key": "alt+left",
|
||||
"command": "workbench.action.previousEditor"
|
||||
},
|
||||
{
|
||||
"key": "space '",
|
||||
"command": "workbench.action.toggleSidebarVisibility",
|
||||
"when": "sideBarFocus && activeViewlet != workbench.view.extensions && activeViewlet != workbench.view.search && activeViewlet != workbench.view.scm"
|
||||
}
|
||||
|
||||
]
|
||||
{
|
||||
"key": "ctrl+t",
|
||||
"command": "workbench.action.files.newUntitledFile"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+h",
|
||||
"command": "workbench.action.focusPreviousGroup",
|
||||
"when": "activeEditorGroupIndex != 0"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+l",
|
||||
"command": "workbench.action.focusNextGroup",
|
||||
"when": "activeEditorGroupIndex != editorGroupCount - 1"
|
||||
},
|
||||
{
|
||||
"key": "space '",
|
||||
"command": "workbench.action.toggleSidebarVisibility",
|
||||
"when": "sideBarFocus && activeViewlet != workbench.view.extensions && activeViewlet != workbench.view.search && activeViewlet != workbench.view.scm"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+p",
|
||||
"command": "workbench.action.quickOpen"
|
||||
}
|
||||
]
|
||||
|
|
@ -7,6 +7,8 @@
|
|||
"terminal.integrated.smoothScrolling": true,
|
||||
"editor.fontSize": 16.75,
|
||||
"editor.cursorBlinking": "solid",
|
||||
"editor.cursorSmoothCaretAnimation": "on",
|
||||
"editor.cursorSurroundingLines": 21,
|
||||
"editor.cursorStyle": "block",
|
||||
"editor.lineNumbers": "relative",
|
||||
"editor.fontFamily": "monospace",
|
||||
|
|
@ -21,25 +23,26 @@
|
|||
"vim.useSystemClipboard": true,
|
||||
"vim.useCtrlKeys": true,
|
||||
"vim.hlsearch": true,
|
||||
"vim.insertModeKeyBindings": [
|
||||
{
|
||||
"before": ["j", "j"],
|
||||
"after": ["<Esc>"]
|
||||
}
|
||||
],
|
||||
"vim.insertModeKeyBindings": [],
|
||||
"vim.normalModeKeyBindingsNonRecursive": [
|
||||
{
|
||||
"before": ["<leader>", "'"],
|
||||
"commands": ["workbench.action.toggleSidebarVisibility", "workbench.files.action.focusFilesExplorer"],
|
||||
},
|
||||
},
|
||||
{
|
||||
"before": ["n", "v"],
|
||||
"commands": [
|
||||
"workbench.action.splitEditor",
|
||||
"workbench.action.nextEditorInGroup"
|
||||
]
|
||||
},
|
||||
],
|
||||
"vim.leader": "<space>",
|
||||
"vim.handleKeys": {
|
||||
"<C-a>": false,
|
||||
"<C-f>": false
|
||||
},
|
||||
"// To improve performance",
|
||||
"extensions.experimental.affinity": {
|
||||
"vscodevim.vim": 1
|
||||
}
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue