# cmp-cmdline **Repository Path**: mirror_jedsek/cmp-cmdline ## Basic Information - **Project Name**: cmp-cmdline - **Description**: cmp-cmdline - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-04-04 - **Last Updated**: 2022-05-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cmp-cmdline nvim-cmp source for vim's cmdline. # Setup Completions for command mode: ```lua require'cmp'.setup.cmdline(':', { sources = { { name = 'cmdline' } } }) ``` Completions for `/` search based on current buffer: ```lua require'cmp'.setup.cmdline('/', { sources = { { name = 'buffer' } } }) ``` For the buffer source to work, [cmp-buffer](https://github.com/hrsh7th/cmp-buffer) is needed.