mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 12:26:39 +00:00
feat(cursor): add my emacs-style indent/outdent keybindings
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user