Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vim-scripts/CmdlineComplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=2222

When editing the command-line (: / etc.), press Ctrl-P or Ctrl-N to complete the word before the cursor, using keywords in the current file. E.g: you want to search for "elephant" in the buffer, just type /ele and press Ctrl-P. So long as "elephant" is in the buffer, you will get "ele" completed into "elephant".

This script is functional similar with (but far more better than) SearchComplete vimscript #474 (version 1.1).

About

complete command-line (: / etc.) from the current file

Resources

Readme

Stars

Watchers

Forks

Packages

Contributors