fzf-lua

local fzf_lua = require('fzf-lua')
vim.keymap.set('n', '<Leader>hh', fzf_lua.help_tags, { desc = 'find files'})
vim.keymap.set('n', '<Leader>ff', fzf_lua.files, { desc = 'find files'})

-- ctrl-y to accept, like return
fzf_lua.setup({
  keymap = {
    fzf = {
      ["ctrl-y"] = "accept"
    }
  },
})

Comments