Coc.nvim: [Feature request] Add a way to reverse the order of results with CocList

Created on 21 Jul 2019  路  2Comments  路  Source: neoclide/coc.nvim

Is your feature request related to a problem? Please describe.
When searching through lists with coc.nvim, I find it a little annoying that the best matchs are placed at the top since it's furthest from where I'm typing (and therefore looking most of the time). Auto-resizing (which I like) adds to the annoyance since the location of the best match moves on the screen as I type.

Describe the solution you'd like
I'd love :CocList to have an option like --reversed that would reverse the order of the list so that the best matches appear at the bottom. Ideally, there'd also be an easy way to make this the default for all lists (maybe by adding an option to the coc.nvim configuration like list.reversed which would default to false).

Additional context
This request is inspired by the same functionality in denite.nvim.

help wanted

Most helpful comment

I have this started, but I have been busy.

I do plan on finishing and opening PR at some point.

https://github.com/vantreeseba/coc.nvim/tree/list_reverse_items

All 2 comments

PR welcome.

I have this started, but I have been busy.

I do plan on finishing and opening PR at some point.

https://github.com/vantreeseba/coc.nvim/tree/list_reverse_items

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaskRay picture MaskRay  路  3Comments

marene picture marene  路  3Comments

skylite21 picture skylite21  路  3Comments

npearson72 picture npearson72  路  3Comments

chemzqm picture chemzqm  路  3Comments