Skip to the main content

Vim

Close the current window

CtrlWC

Mac Desktop app Vim default commands

Practice this

In Vim, Ctrl + W, then C will close the current window.

Where it works: Normal mode

Press the small letter, without Shift. Vim is case sensitive, and the capital letter is a different command.

Every documented variant

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

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