x
The
Command
The x command in Vim
Command
delete char
Delete [count] characters under and after the cursor. The deleted text goes into the unnamed register.
Examples
x(delete char)3x(delete 3 chars)xp(transpose two chars)
Related plugin
tpope/vim-speeddating — Increment dates, times, and more with CTRL-a/CTRL-x. || tommcdo/vim-exchange
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related commands