local mapSilent = require("my.keymaps").mapSilent local M = {} local bindings = { -- Open files with control + P files = "", -- See diagnostics with space + d lsp_document_diagnostics = "d", lsp_workspace_diagnostics = "D" } function M.setup() for action, keybind in pairs(bindings) do -- Maps the keybind to the action mapSilent('n', keybind, "lua require('fzf-lua')." .. action .. "()") end end return M