Skip to the main content

Vim

Complete with the previous matching word

CtrlP

Linux Desktop app Vim default commands

Practice this

Press Ctrl + P to complete with the previous matching word in Vim.

Where it works: Insert mode

Every documented variant

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

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