dotfiles/modules/programs/nvim/plugins/telescope-nvim.lua

9 lines
337 B
Lua

require("which-key").register({
f = {
name = "find",
f = { "<cmd>Telescope find_files<cr>", "find file" },
l = { "<cmd>Telescope current_buffer_fuzzy_find<cr>", "find line" },
g = { "<cmd>Telescope live_grep<cr>", "live grep" },
b = { "<cmd>Telescope buffers<cr>", "find buffer" },
},
}, { prefix = "<leader>" })