feat(cursor): add my emacs-style indent/outdent keybindings

This commit is contained in:
2025-02-23 22:49:14 +00:00
parent f6dc89641a
commit 36ccaa89e2

View File

@@ -291,6 +291,16 @@
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{ // Indent line
"key": "ctrl+c ]",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{ // Outdent line
"key": "ctrl+c [",
"command": "editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{ // Move lines up in editor.
"key": "alt+p",
"command": "editor.action.moveLinesUpAction",