mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
chore(cursor): minor tweaks to settings and keybindings
This commit is contained in:
@@ -217,26 +217,41 @@
|
|||||||
},
|
},
|
||||||
{ // Navigate up.
|
{ // Navigate up.
|
||||||
"key": "alt+i",
|
"key": "alt+i",
|
||||||
"command": "workbench.action.navigateUp"
|
"command": "workbench.action.navigateUp",
|
||||||
|
"when": "!terminalFocus"
|
||||||
},
|
},
|
||||||
{ // Navigate up.
|
{ // Navigate up.
|
||||||
//
|
//
|
||||||
// Workaround for alt+i not working in VSCode. Relies on Karabiner-Elements
|
// Workaround for alt+i not working in VSCode. Relies on Karabiner-Elements
|
||||||
// to remap alt+i to cmd+alt+up.
|
// to remap alt+i to cmd+alt+up.
|
||||||
"key": "cmd+alt+up",
|
"key": "cmd+alt+up",
|
||||||
"command": "workbench.action.navigateUp"
|
"command": "workbench.action.navigateUp",
|
||||||
|
"when": "!terminalFocus"
|
||||||
},
|
},
|
||||||
{ // Navigate right.
|
{ // Navigate right.
|
||||||
"key": "alt+l",
|
"key": "alt+l",
|
||||||
"command": "workbench.action.navigateRight"
|
"command": "workbench.action.navigateRight",
|
||||||
},
|
},
|
||||||
{ // Navigate left.
|
{ // Navigate left.
|
||||||
"key": "alt+j",
|
"key": "alt+j",
|
||||||
"command": "workbench.action.navigateLeft"
|
"command": "workbench.action.navigateLeft",
|
||||||
},
|
},
|
||||||
{ // Navigate down.
|
{ // Navigate down.
|
||||||
"key": "alt+k",
|
"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
|
// 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
|
// all input fields. This relies on Karabiner-Elements to remap ctrl+f to
|
||||||
// right arrow.
|
// right arrow.
|
||||||
"key": "ctrl+c right",
|
"key": "ctrl+c , right",
|
||||||
"command": "macros.runTestDebugFailTests",
|
"command": "macros.runTestDebugFailTests",
|
||||||
"when": "editorTextFocus"
|
"when": "editorTextFocus"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,6 +28,22 @@
|
|||||||
"window.title": "${rootName}${separator}${profileName}",
|
"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
|
// MARK: Editor
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
@@ -133,16 +149,6 @@
|
|||||||
"diffEditor.ignoreTrimWhitespace": false,
|
"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
|
// MARK: Terminal
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user