Proposal: New option for wildmode - 'update'
- Completion-as-you-type has been a feature of most text editors for quite some time. While typing code or any navigation command, the user see's a list of possible completions available and filter as the word/command changes.
This is currently implemented in different areas within Vim, such as the 'incsearch' option and having an omnicompletion menu open and continuing to type.
Unfortunately, nothing of this behavior exists for the wildmenu in Vim. Most attempts at implementing filter-as-you-type behavior in Vim have to go through a convoluted process of creating a new buffer and manipulating each line in the buffer. This also eschews ex-mode and has to go another route.
Providing a way for users to get completion-as-you-type will allow for ex-commands to harness '-complete=customlist' to create an interface into a multitude of autocompletion systems.
That's why I'm proposing an additional option to the 'wildmode' setting, 'update' that will enable this feature. Simply by ':set wildmode=update' will users get completion-as-you-type into any ex-command.
Any thoughts or comments on this would be greatly appreciated. Thanks!
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php