add fzf-lua to ctrl+p keybind

This commit is contained in:
Asmir A 2023-07-08 14:46:26 +02:00
parent 897684d8ff
commit db99ea6566
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@
cmp-path
colorizer
fugitive
fzf-vim
fzf-lua
gruvbox
nvim-cmp
nvim-lspconfig

View File

@ -48,6 +48,7 @@ vim.api.nvim_set_keymap('n', '<C-J>', '<C-W><C-J>', opts)
vim.api.nvim_set_keymap('n', '<C-K>', '<C-W><C-K>', opts)
vim.api.nvim_set_keymap('n', '<C-L>', '<C-W><C-L>', opts)
vim.api.nvim_set_keymap('n', '<C-H>', '<C-W><C-H>', opts)
vim.api.nvim_set_keymap('n', "<C-P>", "<cmd>lua require('fzf-lua').files()<CR>", opts)
vim.api.nvim_create_autocmd('LspAttach', {
desc = 'LSP actions',