feat: first attempt at compile-commands-picker
This commit is contained in:
parent
8802b654c9
commit
fef576fbde
4 changed files with 145 additions and 1 deletions
|
|
@ -79,6 +79,10 @@ function M.setup()
|
|||
vim.keymap.set('n', '<leader>sn', function()
|
||||
builtin.find_files { cwd = vim.fn.stdpath 'config' }
|
||||
end, { desc = '[S]earch [N]eovim files' })
|
||||
|
||||
-- C/C++ compile_commands.json picker
|
||||
vim.keymap.set('n', '<leader>sc', '<cmd>CompileCommandsPicker<cr>',
|
||||
{ desc = '[S]earch [C]ompile commands.json' })
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue