Bind a key to file-finding with a Lua callback.
Section: Lua keymaps
Map Telescope file search
lua
lua
vim.keymap.set("n", "<leader>ff", function()
require("telescope.builtin").find_files()
end, { desc = "Find files", silent = true })Explanation
Descriptions improve discoverability in helper plugins.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Lua keymaps