mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 03:16:39 +00:00
chore(keybindings): disable custom tab override for now
Cursor recently had some fixes for compatibility with Emacs keybinding extensions. And it seems to have fixed the issues I initially ran into. Lets comment out the custom tab keybinding for now, and see if there's any situations where I might still need it.
This commit is contained in:
@@ -514,18 +514,20 @@
|
||||
// MARK: Text Manipulation
|
||||
// ===========================================================================
|
||||
//
|
||||
{ // Set indentation to correct level.
|
||||
//
|
||||
// This was borrowed from the awesome-emacs-keymap extension and modified to
|
||||
// add:
|
||||
// - `!cpp.shouldAcceptTab` condition for the sake of Cursor.
|
||||
// - `!tableMode` condition for the sake of text-tables.
|
||||
//
|
||||
// Extension: https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx
|
||||
"key": "tab",
|
||||
"command": "emacs-mcx.tabToTabStop",
|
||||
"when": "editorTextFocus && !editorReadonly && !inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible && !inSnippetMode && !editorTabCompletion && !editorParameterHintsVisible && !cursorAtInlineEdit && !cpp.shouldAcceptTab && !tableMode"
|
||||
},
|
||||
// TODO: Re-evaluate if we may still need a custom tab keybinding for Cursor.
|
||||
//
|
||||
// { // Set indentation to correct level.
|
||||
// //
|
||||
// // This was borrowed from the awesome-emacs-keymap extension and modified to
|
||||
// // add:
|
||||
// // - `!cpp.shouldAcceptTab` condition for the sake of Cursor.
|
||||
// // - `!tableMode` condition for the sake of text-tables.
|
||||
// //
|
||||
// // Extension: https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx
|
||||
// "key": "tab",
|
||||
// "command": "emacs-mcx.tabToTabStop",
|
||||
// "when": "editorTextFocus && !editorReadonly && !inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible && !inSnippetMode && !editorTabCompletion && !editorParameterHintsVisible && !cursorAtInlineEdit && !cpp.shouldAcceptTab && !tableMode"
|
||||
// },
|
||||
{ // Cycle spacing.
|
||||
//
|
||||
// This is a basic emulation Emacs' built-in cycle-spacing command. It
|
||||
|
||||
Reference in New Issue
Block a user