X Tutup
Skip to content

Using Cursor instead of VSCode space does not trigger vspacecode.space #370

@aculich

Description

@aculich

Type: Bug

Bug description

When using the VSpaceCode extension with Cursor (a non-open source fork of VSCode), hitting space doesn't trigger vspacecode.space.

To Reproduce

Download and install Cursor instead of using VScode: https://www.cursor.com/
Install VSpaceCode and related extensions with a vanilla install of Cursor Version 0.40.3 (and no other extensions enabled).

Expected behavior

In an editor window with Vim in NORMAL mode, type space and it should trigger vspacecode.space to open the whichkey menu, but when using Cursor instead of VScode, the on-screen cursor just moves forward one space instead of triggering the vspacecode.space menu.

Keybindings Workaround

Below is a workaround that is fine for now, but it would be nice to have this working by default:

Press Ctrl+Shift+p and run the action "Preferences: Open Keyboard Shortcuts (JSON)".

Contents of keybindings.json:

    {
        "key": "space",
        "command": "vspacecode.space",
        "when":"editorTextFocus && vim.mode == 'Normal'"
    },

System information

Cursor https://www.cursor.com/
Cursor Version: 0.40.3
VSCode Version: 1.91.1
Commit: 2804893a83ef162ae6c48e8254717e25c7c7c510
Date: 2024-08-29T17:42:50.254Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

Extension version: 0.10.18
VS Code version: Cursor 0.40.3 (2804893a83ef162ae6c48e8254717e25c7c7c510, 2024-08-29T17:42:50.254Z)
OS version: Darwin arm64 23.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamIssues related to upstream dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup