From 96e8b1d7c2a7dfd0cb5883d557cbf9d112f3e41f Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 6 Mar 2024 16:05:28 +0100 Subject: [PATCH] more vim --- .gitignore | 1 + Preferences | 1 + User/keybindings.json | 43 +++++++++++++++++++++++++++++++++++++++++++ User/settings.json | 17 +++++++++++++---- languagepacks.json | 1 + 5 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 Preferences create mode 100644 languagepacks.json diff --git a/.gitignore b/.gitignore index fbd3bb1..d7d764f 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ shared_proto_db Local State code.lock machineid +Backups/c5da8c1968624d1e8b03520909badb4c/vscode-remote diff --git a/Preferences b/Preferences new file mode 100644 index 0000000..ec8a3bb --- /dev/null +++ b/Preferences @@ -0,0 +1 @@ +{"partition":{"per_host_zoom_levels":{"17866914613510039610":{"vscode-app":-1.0}}},"spellcheck":{"dictionaries":["de"],"dictionary":""}} \ No newline at end of file diff --git a/User/keybindings.json b/User/keybindings.json index e69de29..7e2a24a 100644 --- a/User/keybindings.json +++ b/User/keybindings.json @@ -0,0 +1,43 @@ +// Place your key bindings in this file to override the defaults +[ + { + "key": "f12", + "command": "-editor.action.revealDefinition", + "when": "editorHasDefinitionProvider && editorTextFocus" + }, + { + "key": "f12", + "command": "-editor.gotoNextSymbolFromResult", + "when": "hasSymbols" + }, + { + "key": "f12", + "command": "-goToNextReference", + "when": "inReferenceSearchEditor || referenceSearchVisible" + }, + { + "key": "ctrl+oem_3", + "command": "workbench.action.terminal.toggleTerminal" + }, + { + "key": "ctrl+oem_3", + "command": "-workbench.action.terminal.toggleTerminal", + "when": "terminal.active" + }, + { + "key": "f12", + "command": "workbench.action.terminal.toggleTerminal" + }, + { + "key": "alt+j", + "command": "vscode-neovim.send", + "when": "editorTextFocus && neovim.init", + "args": "" + }, + { + "key": "alt+k", + "command": "vscode-neovim.send", + "when": "editorTextFocus && neovim.init", + "args": "" + } +] \ No newline at end of file diff --git a/User/settings.json b/User/settings.json index df71ff2..afe0563 100644 --- a/User/settings.json +++ b/User/settings.json @@ -43,7 +43,6 @@ "git.autofetch": true, "cSpell.language": "en,de-DE,de", "terminal.integrated.rightClickBehavior": "nothing", - "terminal.integrated.allowChords": false, "terminal.integrated.sendKeybindingsToShell": true, "[python]": { "editor.formatOnType": true @@ -78,7 +77,7 @@ "cSpell.fixSpellingWithRenameProvider": true, "cSpell.advanced.feature.useReferenceProviderWithRename": true, "cSpell.advanced.feature.useReferenceProviderRemove": "/^#+\\s/", - "editor.defaultFormatter": "DavidAnson.vscode-markdownlint" + "editor.defaultFormatter": "yzhang.markdown-all-in-one" }, "extensions.experimental.affinity": { "asvetliakov.vscode-neovim": 1 @@ -111,6 +110,16 @@ "right", "up", "left", - "down" - ] + "down", + "k", + "b", + "l" + ], + "terminal.integrated.commandsToSkipShell": [ + "workbench.action.terminal.toggleTerminal" + ], + "terminal.integrated.allowChords": false, + "editor.codeLensFontFamily": "'FiraCode Nerd Font'", + "editor.fontLigatures": true, + "git.openRepositoryInParentFolders": "never" } \ No newline at end of file diff --git a/languagepacks.json b/languagepacks.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/languagepacks.json @@ -0,0 +1 @@ +{} \ No newline at end of file