dotfiles/home/modules/vscode/config/keybindings.nix

30 lines
773 B
Nix
Raw Normal View History

2024-11-20 16:07:09 -06:00
{
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";
}
2024-12-06 21:48:52 -06:00
{
key = "ctrl+shift+tab";
command = "editor.action.indentationToSpaces";
when = "textInputFocus";
}
2024-12-24 17:19:44 -06:00
{
key = "ctrl+shift+d";
command = "editor.action.deleteLines";
when = "textInputFocus";
}
2024-11-20 16:07:09 -06:00
];
}