https://github.com/alefragnani/vscode-copy-word
Copy Word Extension for Visual Studio Code
https://github.com/alefragnani/vscode-copy-word
editing vscode
Last synced: 4 months ago
JSON representation
Copy Word Extension for Visual Studio Code
- Host: GitHub
- URL: https://github.com/alefragnani/vscode-copy-word
- Owner: alefragnani
- License: mit
- Created: 2015-11-14T00:32:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2026-02-26T14:04:46.000Z (4 months ago)
- Last Synced: 2026-02-26T19:53:29.823Z (4 months ago)
- Topics: editing, vscode
- Language: TypeScript
- Size: 522 KB
- Stars: 14
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://marketplace.visualstudio.com/items?itemName=alefragnani.copy-word)
[](https://marketplace.visualstudio.com/items?itemName=alefragnani.copy-word)
[](https://marketplace.visualstudio.com/items?itemName=alefragnani.copy-word)
[](https://github.com/alefragnani/vscode-copy-word/actions?query=workflow%3ACI)
# What's new in Copy Word in Cursor 3.13
* Adds **Multi-cursor** support
* Published to **Open VSX**
* Customizable **Paste** behavior
* Adds **Translation/Localization** support
* Adds **Web** support
# Support
**Copy Word in Cursor** is an open source extension created for **Visual Studio Code**. While being free and open source, if you find it useful, please consider supporting it.
# Copy Word in Cursor
It can replace the default `Cut`, `Copy`, and `Paste` commands, using the _current word_ when no text is selected.
# Features
## Available commands
- `Copy Word: Cut` cut the current word
- `Copy Word: Copy` copy the current word
- `Copy Word: Paste` paste over the current word
## Using as your default shortcuts
You only need to update your **Keyboard Shortcuts**.
Go to `File / Preferences / Keyboard Shortcuts` and add three new entries:
### Windows/Linux
```json
{
"key": "Ctrl+c",
"command": "copy-word.copy",
"when": "editorTextFocus"
},
{
"key": "Ctrl+x",
"command": "copy-word.cut",
"when": "editorTextFocus"
},
{
"key": "Ctrl+v",
"command": "copy-word.paste",
"when": "editorTextFocus"
}
```
### Mac
```json
{
"key": "Cmd+c",
"command": "copy-word.copy",
"when": "editorTextFocus"
},
{
"key": "Cmd+x",
"command": "copy-word.cut",
"when": "editorTextFocus"
},
{
"key": "Cmd+v",
"command": "copy-word.paste",
"when": "editorTextFocus"
}
```
## Available Settings
* Use original `Cut`/`Copy` behavior when no text is selected and no _current word_ is defined _(`false` by default)_
```json
"copyWord.useOriginalCopyBehavior": true
```
* Indicates the behavior of the Paste command _(choose between `original`, `replaceWordAtCursor` or `replaceWordAtCursorWhenInTheMiddleOfTheWord`)_
```json
"copyWord.pasteWordBehavior": "replaceWordAtCursor"
```
Let's suppose you are pasting `bbb`, in the following scenario:
| cursor located at `\|` | `original` | `replaceWordAtCursor` | `replaceWordAtCursorWhenInTheMiddleOfTheWord` |
| -----------------------|------------|-----------------------|-----------------------------------------------|
| `\|`aaaa | bbbbaaaa | bbbb | bbbbaaaa |
| aaaa`\|` | aaaabbbb | bbbb | aaaabbbb |
| aa`\|`aa | aabbbbaa | bbbb | bbbb |
## Contributors
Special thanks to the people that have contributed to the project:
* (@Krysl) - Add configuration to change how Paste command overwrite words ([see PR](https://github.com/alefragnani/vscode-copy-word/pull/64))
* (@dudeNumber4) - Use original Cut/Copy behavior when no text is selected and no current word is defined ([see PR](https://github.com/alefragnani/vscode-copy-word/pull/45))
* (@dudeNumber4) - Add `Paste` support ([see PR](https://github.com/alefragnani/vscode-copy-word/pull/41))
# License
[MIT](LICENSE.md) © Alessandro Fragnani



