hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
493 stars 42 forks source link

auto select the closest item when completing command #79

Open shelper opened 1 year ago

shelper commented 1 year ago

currently the plugin needs you to tab to select the item, otherwise if you enter with incomplete command, it results in command not found.

it would be much more convininent to let the plugin automatically select the closest match if user press enter.

wvculfckln6002 commented 1 year ago

I also want to know how to achieve this.