feat(telescope): additional keymaps

This commit is contained in:
Michel 2023-10-18 17:41:56 +02:00
parent 2132d4b5ef
commit 298a253453

View File

@ -3,13 +3,18 @@ return {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
keys = { keys = {
-- add a keymap to browse plugin files
-- stylua: ignore -- stylua: ignore
{ {
"<leader>fC", "<leader>fC",
function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end, function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root .. "/LazyVim/lua/lazyvim" }) end,
desc = "Find LazyVim Config File", desc = "Find LazyVim Config File",
}, },
-- stylua: ignore
{
"<leader>snT",
"<cmd>Noice telescope<CR>",
desc = "Noice Telescope",
},
}, },
opts = { opts = {