If you enjoy this extension, please consider giving it a star ⭐, and share it on X (Twitter). Thank you 🌹
Seamlessly restore the familiar VSCode keybindings in Cursor with a single installation. This extension brings back the keyboard shortcuts you know and love, enhancing your coding experience without any additional configuration.
This extension will not modify any of your Cursor settings or local application files. It simply removes certain Cursor shortcuts and restores the original VSCode shortcuts using the extension API. There's no hidden magic involved. If you ever wish to revert to Cursor's original shortcuts, you can easily do so by disabling or uninstalling this extension.
Key improvements:
- Removes shortcuts prefixed with
⌘ + R
- Restores the familiar
⌘ + K
prefixed shortcuts from VSCode - Adjusts frequently used shortcuts modified by Cursor:
⌘ + K
: Restored as VSCode's prefix shortcut (previously "Open Edit" in Cursor, now⌘ + E
)⌘ + L
: Restored as "Expand Line Selection" (previously "Open New Chat" in Cursor, now⌘ + ]
)⇧ + ⌘ + L
: Restored as "Select All Occurrences of Find Match" (previously "Insert Selection Into Chat" in Cursor, now⌘ + ⇧ + ]
)⇧ + ⌘ + K
: Restored as "Delete Line" (previously "Add to Edit, just add current selection to composer"). I didn't add a new shortcut forAdd to Edit
, custom it as you like.- You can use
⇧ + ⌘ + K
to clear terminal in Cursor, because you can't make⌘ + K
to clear terminal work in Cursor.
How to custom vscode keybinding?
this bring back the original vscode activity bar and side bar layout, just like you see in above screenshot.
{
// don't forget to restart to take effect
"workbench.activityBar.orientation": "vertical",
}
While you can restore the ⌘ + K
keybinding prefix by changing the workbench.action.keychord.leader
to ⌘ + K
, this approach has some drawbacks:
- It adds numerous keybindings to your
keybindings.json
, making it harder to manage. - It doesn't address other frequently used keybindings modified by Cursor, such as
⌘ + L
.
This extension provides a more comprehensive and manageable solution to restore VSCode-like keybindings in Cursor.
As this extension has been primarily developed and tested on macOS, compatibility with Windows and Linux systems has not been thoroughly verified. However, it is expected that most keybindings should work across platforms. If you encounter any issues or discrepancies on Windows or Linux, please don't hesitate to open an issue or submit a pull request. Your feedback and contributions are greatly appreciated to help improve cross-platform compatibility.
- Open in External App
- Package Manager Enhancer
- VSCode archive
- Neo File Utils
- VSCode FE Helper
- Power Edit
Check all here: publishers/YuTengjing