Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Word in CursorNew to Visual Studio Code? Get it now.

Copy Word in Cursor

Alessandro Fragnani

|
6,246 installs
| (5) | Free
| Sponsor
Copy/Cut the current word when there is no selection
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info


Copy Word in Cursor Logo

What's new in Copy Word in Cursor 3.10

  • Adds Translation/Localization support
  • Adds Web support
  • Adds Paste command
  • Adds Workspace Trust support
  • Adds Virtual Workspaces support
  • Adds Remote Development 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

    { 
      "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

    { 
      "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)
    "copyWord.useOriginalCopyBehavior": true

Contributors

Special thanks to the people that have contributed to the project:

  • (@dudeNumber4) - Use original Cut/Copy behavior when no text is selected and no current word is defined (see PR)
  • (@dudeNumber4) - Add Paste support (see PR)

License

MIT © Alessandro Fragnani

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft