feat(cursor): add prev/next paragrapn alt+a/e keybindings

This commit is contained in:
2025-02-21 23:11:42 +00:00
parent 89aeb4a960
commit edd534d50e
2 changed files with 118 additions and 68 deletions

View File

@@ -216,6 +216,23 @@
// Text navigation
// ===========================================================================
//
{ // Forward paragraph.
"key": "alt+e",
"command": "emacs-mcx.forwardParagraph",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{ // Forward paragraph.
// This is a workaround for alt+e not working in VSCode. Relies on
// Karabiner-Elements to remap alt+e to cmd+alt+right.
"key": "cmd+alt+right",
"command": "emacs-mcx.forwardParagraph",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{ // Backward paragraph.
"key": "alt+a",
"command": "emacs-mcx.backwardParagraph",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{ // Go to symbol definition.
"key": "ctrl+t",
"command": "workbench.action.gotoSymbol",