Thursday, February 23, 2012

Re: Vim complete/suggest - sort by most used

Excerpts from philipx's message of Wed Feb 22 03:31:57 +0100 2012:
> Is it possible to have vim sort the suggest list (<C-N>/<C-P>) by the
> most used (as in most commonly completed) entries?

This would require Vim keeping history about which ones you used most in
the past => that would be complex.

completion functions can sort *before* returning results or calling
complete_add() AFAIK.

You should talk about the completion you use - maybe we can provide
additional ideas then.

Marc Weber

--
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

No comments:

Post a Comment