I'm wondering if it's possible to augment the pop-up menu. Some (potential) wishes:
* <C-W> to delete partial words (presumably controlled by iskeyword). <BS> works OK, but I've run into at least one scenario (see below) where it would be nice to delete back to a delimiter.
* key matching anywhere in the text. In a long list, it'd be nice to type in a few characters in the middle of a string and have vim be smart enough to filter down on those characters even if they are in the middle of the strings.
* pop up menu specific completeoption. This would allow a "shortest" map for just the popup menu
For context, I'm looking at David Fishburn's dynamic sql omnicomplete. The table names come back all qualified by the database name then a dot then the actual table. This means that the first table is most often selected, and backing out of an actual selection too far ends back up at the first selection.
But the use case seems more general then this. In particular the generic function omnicomplete it's common for there to be a large number of entries, where the ability to quickly hone in on a subset would be useful.
--
--
You received this message from the "vim_use" 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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment