Shortcut
Vim Delete the Character Under the Cursor Shortcut
The Vim shortcut to delete the character under the cursor is x on Windows. It's the same on Mac.
Quick Answer
- Windows
- x
- Mac
- x
- Web
- Not confirmed yet
VimShortcut
Delete the Character Under the Cursor
Removes the character the cursor sits on.
How to delete the character under the cursor in Vim
- Open Vim and go to where you want to delete the character under the cursor.
- Press x on Windows or x on Mac.
Vim Delete the Character Under the Cursor Shortcut for Windows
Press x.
Vim Delete the Character Under the Cursor Shortcut for Mac
Press x.
Vim Delete the Character Under the Cursor Shortcut for Vim Web
We haven't confirmed a Vim Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Vim delete the character under the cursor shortcut?
On Windows, press x. On a Mac, press x.
Is there a Mac shortcut to delete the character under the cursor in Vim?
Yes: x.
Does it work in Vim for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify