Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjx666/vscode-classic-experience
Restore familiar VSCode keybindings in Cursor editor. Smooth transition for VSCode users.
https://github.com/tjx666/vscode-classic-experience
ai claude claude-sonnet cursor gpt keybindings shortcuts vscode vscode-extension
Last synced: about 12 hours ago
JSON representation
Restore familiar VSCode keybindings in Cursor editor. Smooth transition for VSCode users.
- Host: GitHub
- URL: https://github.com/tjx666/vscode-classic-experience
- Owner: tjx666
- License: mit
- Created: 2024-08-28T17:44:17.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-25T11:56:57.000Z (21 days ago)
- Last Synced: 2025-02-06T19:15:25.277Z (8 days ago)
- Topics: ai, claude, claude-sonnet, cursor, gpt, keybindings, shortcuts, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=YuTengjing.vscode-classic-experience
- Size: 1.63 MB
- Stars: 24
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VSCode Keybindings for Cursor
[![Version](https://img.shields.io/visual-studio-marketplace/v/YuTengjing.vscode-classic-experience)](https://marketplace.visualstudio.com/items/YuTengjing.vscode-classic-experience/changelog) [![Installs](https://img.shields.io/visual-studio-marketplace/i/YuTengjing.vscode-classic-experience)](https://marketplace.visualstudio.com/items?itemName=YuTengjing.vscode-classic-experience) [![Downloads](https://img.shields.io/visual-studio-marketplace/d/YuTengjing.vscode-classic-experience)](https://marketplace.visualstudio.com/items?itemName=YuTengjing.vscode-classic-experience) [![Rating Star](https://img.shields.io/visual-studio-marketplace/stars/YuTengjing.vscode-classic-experience)](https://marketplace.visualstudio.com/items?itemName=YuTengjing.vscode-classic-experience&ssr=false#review-details) [![Last Updated](https://img.shields.io/visual-studio-marketplace/last-updated/YuTengjing.vscode-classic-experience)](https://github.com/tjx666/vscode-classic-experience)
![CI](https://github.com/tjx666/vscode-classic-experience/actions/workflows/ci.yml/badge.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com) [![Github Open Issues](https://img.shields.io/github/issues/tjx666/vscode-classic-experience)](https://github.com/tjx666/vscode-classic-experience/issues) [![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg?style=flat-square)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
![screenshot](https://github.com/tjx666/vscode-classic-experience/blob/main/assets/screenshot.png?raw=true)
If you enjoy this extension, please consider giving it a [star ⭐](https://github.com/tjx666/vscode-classic-experience), and share it on [X (Twitter)](https://twitter.com/intent/tweet?text=Check%20out%20this%20awesome%20VSCode%20extension%20for%20Cursor%20that%20restores%20familiar%20keybindings!%20https://github.com/tjx666/vscode-classic-experience). Thank you 🌹
## Features
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](https://docs.cursor.com/context/%40-symbols/%40-code#from-the-editor), just add current selection to composer"). I didn't add a new shortcut for `Add 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?
- [Key Bindings for Visual Studio Code](https://code.visualstudio.com/docs/getstarted/keybindings)
- [Customize Visual Studio Code Video Tutorial](https://code.visualstudio.com/docs/introvideos/customize)## Recommend Settings
this bring back the original vscode activity bar and side bar layout, just like you see in above screenshot.
```jsonc
{
// don't forget to restart to take effect
"workbench.activityBar.orientation": "vertical",
}
```## Alternatives
While you can restore the `⌘ + K` keybinding prefix by changing the `workbench.action.keychord.leader` to `⌘ + K`, this approach has some drawbacks:
1. It adds numerous keybindings to your `keybindings.json`, making it harder to manage.
2. 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.
![keychord leader](https://github.com/tjx666/vscode-classic-experience/blob/main/assets/keychored_leader.png?raw=true)
## Windows and Linux
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.
## My extensions
- [Open in External App](https://github.com/tjx666/open-in-external-app)
- [Package Manager Enhancer](https://github.com/tjx666/package-manager-enhancer)
- [VSCode archive](https://github.com/tjx666/vscode-archive)
- [Neo File Utils](https://github.com/tjx666/vscode-neo-file-utils)
- [VSCode FE Helper](https://github.com/tjx666/vscode-fe-helper)
- [Power Edit](https://github.com/tjx666/power-edit)Check all here: [publishers/YuTengjing](https://marketplace.visualstudio.com/publishers/YuTengjing)