From 36ccaa89e2029914ea40c7ab3ece2a6aac0ef0e3 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 23 Feb 2025 22:49:14 +0000 Subject: [PATCH] feat(cursor): add my emacs-style indent/outdent keybindings --- cursor/keybindings.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cursor/keybindings.json b/cursor/keybindings.json index b1a63ce..2d59bb6 100644 --- a/cursor/keybindings.json +++ b/cursor/keybindings.json @@ -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",