chore(cursor): minor tweaks to settings and keybindings

This commit is contained in:
2025-03-09 00:16:54 +00:00
parent 63751b046d
commit a636ea59f5
2 changed files with 37 additions and 16 deletions

View File

@@ -217,26 +217,41 @@
},
{ // Navigate up.
"key": "alt+i",
"command": "workbench.action.navigateUp"
"command": "workbench.action.navigateUp",
"when": "!terminalFocus"
},
{ // Navigate up.
//
// Workaround for alt+i not working in VSCode. Relies on Karabiner-Elements
// to remap alt+i to cmd+alt+up.
"key": "cmd+alt+up",
"command": "workbench.action.navigateUp"
"command": "workbench.action.navigateUp",
"when": "!terminalFocus"
},
{ // Navigate right.
"key": "alt+l",
"command": "workbench.action.navigateRight"
"command": "workbench.action.navigateRight",
},
{ // Navigate left.
"key": "alt+j",
"command": "workbench.action.navigateLeft"
"command": "workbench.action.navigateLeft",
},
{ // Navigate down.
"key": "alt+k",
"command": "workbench.action.navigateDown"
"command": "workbench.action.navigateDown",
},
{ // Navigate up back to editor from terminal.
"key": "alt+i",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{ // Navigate up back to editor from terminal.
//
// Workaround for alt+i not working in VSCode. Relies on Karabiner-Elements
// to remap alt+i to cmd+alt+up.
"key": "cmd+alt+up",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
//
// ===========================================================================
@@ -683,7 +698,7 @@
// This is a workaround for ctrl+f not working globally as right arrow in
// all input fields. This relies on Karabiner-Elements to remap ctrl+f to
// right arrow.
"key": "ctrl+c right",
"key": "ctrl+c , right",
"command": "macros.runTestDebugFailTests",
"when": "editorTextFocus"
},

View File

@@ -28,6 +28,22 @@
"window.title": "${rootName}${separator}${profileName}",
//
// ===========================================================================
// MARK: Cursor (Text Editor)
// ===========================================================================
//
"cursor.aipreview.enabled": true,
"cursor.cpp.enablePartialAccepts": true,
"cursor.diffs.useCharacterLevelDiffs": true,
"cursor.terminal.usePreviewBox": true,
"cursor.general.enableShadowWorkspace": true,
//
// ===========================================================================
// MARK: Windsurf (Text Editor)
// ===========================================================================
//
"windsurf.autocompleteSpeed": "fast",
//
// ===========================================================================
// MARK: Editor
// ===========================================================================
//
@@ -133,16 +149,6 @@
"diffEditor.ignoreTrimWhitespace": false,
//
// ===========================================================================
// MARK: Cursor
// ===========================================================================
//
"cursor.aipreview.enabled": true,
"cursor.cpp.enablePartialAccepts": true,
"cursor.diffs.useCharacterLevelDiffs": true,
"cursor.terminal.usePreviewBox": true,
"cursor.general.enableShadowWorkspace": true,
//
// ===========================================================================
// MARK: Terminal
// ===========================================================================
//