refactor: abstracted out vscode config

This commit is contained in:
Nick 2024-11-20 16:07:09 -06:00
parent 1ae9601263
commit 18258dec54
5 changed files with 75 additions and 61 deletions

View file

@ -0,0 +1,19 @@
{
keybindings = [
{
key = "ctrl+shift+s";
command = "editor.action.insertCursorAtEndOfEachLineSelected";
when = "textInputFocus";
}
{
key = "ctrl+shift+a";
command = "editor.action.quickFix";
when = "editorHasCodeActionsProvider && textInputFocus && !editorReadonly";
}
{
key = "ctrl+shift+f";
command = "editor.action.formatDocument";
when = "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor";
}
];
}