hrsh7th / cmp-cmdline

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

Is it possible to have different 'versions' of the `/` command that enable different cmp sources and behaviour? #86

Open IndianBoy42 opened 1 year ago

IndianBoy42 commented 1 year ago

I'm interested in cmp-fuzzy-buffer but i'm not sure I always want it enabled as a source. and when it is enabled I would rather <CR> confirm (and select the first entry if not already) and complete the search, while for normal search I have <CR> only complete the search and <TAB> is required to actually select and confirm. Basically since with fuzzy_buffer I'm probably not typing an actual search string, I'm just typing to get a fuzzy match