diff --git a/extensions.cursor.lock b/extensions.cursor.lock index 333a830..ad1e4dd 100644 --- a/extensions.cursor.lock +++ b/extensions.cursor.lock @@ -1,5 +1,5 @@ # cursor Extensions -# Generated on Sat Mar 8 23:55:51 GMT 2025 +# Generated on Sun Mar 9 01:54:18 GMT 2025 alefragnani.project-manager@12.8.0 antiantisepticeye.vscode-color-picker@0.0.4 @@ -16,6 +16,7 @@ connorshea.vscode-ruby-test-adapter@0.9.2 ctf0.macros@1.1.1 dbaeumer.vscode-eslint@3.0.10 dnut.rewrap-revived@1.16.3 +editorconfig.editorconfig@0.17.1 emeraldwalk.runonsave@0.2.7 exiasr.hadolint@1.1.2 foxundermoon.shell-format@7.2.5 @@ -56,6 +57,7 @@ pflannery.vscode-versionlens@1.16.2 pkief.material-icon-theme@5.20.0 redhat.vscode-xml@0.28.0 redhat.vscode-yaml@1.17.0 +romanpeshkov.vscode-text-tables@0.1.5 rrudi.vscode-dired@0.0.9 rust-lang.rust-analyzer@0.3.2330 shopify.ruby-extensions-pack@0.1.13 @@ -66,6 +68,7 @@ stuart.unique-window-colors@1.0.51 sumneko.lua@3.13.6 swellaby.vscode-rust-test-adapter@0.11.0 tamasfe.even-better-toml@0.21.2 +tootone.org-mode@0.5.0 tuttieee.emacs-mcx@0.65.1 tyriar.sort-lines@1.12.0 viktorzetterstrom.non-breaking-space-highlighter@0.0.3 diff --git a/keybindings.json b/keybindings.json index f468d77..7ebcc41 100644 --- a/keybindings.json +++ b/keybindings.json @@ -452,12 +452,14 @@ { // Set indentation to correct level. // // This was borrowed from the awesome-emacs-keymap extension and modifed to - // add the `!cpp.shouldAcceptTab` condition for the sake of Cursor. + // 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" + "when": "editorTextFocus && !editorReadonly && !inlineSuggestionVisible && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible && !inSnippetMode && !editorTabCompletion && !editorParameterHintsVisible && !cursorAtInlineEdit && !cpp.shouldAcceptTab && !tableMode" }, { // Cycle spacing. // @@ -826,6 +828,25 @@ }, // // =========================================================================== + // MARK: Text Tables + // =========================================================================== + // Extension: + // - https://marketplace.visualstudio.com/items?itemName=RomanPeshkov.vscode-text-tables + // + { // Format under cursor. + "key": "ctrl+q ctrl+f", + "command": "text-tables.formatUnderCursor" + }, + { // Format under cursor. + // + // 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+q right", + "command": "text-tables.formatUnderCursor" + }, + // + // =========================================================================== // MARK: Makefile task runner // =========================================================================== // Extension URL: diff --git a/settings.json b/settings.json index f4f976b..186634d 100644 --- a/settings.json +++ b/settings.json @@ -381,6 +381,14 @@ "sortLines.ignoreUnselectedLastLine": true, // // =========================================================================== + // MARK: Text Tables + // =========================================================================== + // Extension: + // - https://marketplace.visualstudio.com/items?itemName=RomanPeshkov.vscode-text-tables + // + "text-tables.showStatus": false, + // + // =========================================================================== // MARK: vscode-color-picker // =========================================================================== // Extension: