Skip to the main content

Vim

Delete what you typed on the line

CtrlU

Linux Desktop app Vim default commands

Practice this

To delete what you typed on the line in Vim, press Ctrl + U.

Where it works: Insert mode

Every documented variant

Variants of this shortcut
System Environment Keys
Linux Desktop app CtrlU
Mac Desktop app CtrlU

Where this comes from

Vim help: index.txt - vim/vim

Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.

Report a correction