diff options
Diffstat (limited to 'lua/conf/plugins/telescope.lua')
-rw-r--r-- | lua/conf/plugins/telescope.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/conf/plugins/telescope.lua b/lua/conf/plugins/telescope.lua index 68a7c23..597fbe3 100644 --- a/lua/conf/plugins/telescope.lua +++ b/lua/conf/plugins/telescope.lua @@ -76,6 +76,21 @@ return { 'nvim-telescope/telescope.nvim', map('n', '<leader>b', telebuilt.current_buffer_fuzzy_find, { desc = 'Find string in current buffer.', }) + map('n', '<leader>i', telebuilt.help_tags, { + desc = 'Fuzzy find over help tags.', + }) + + -- find over specific directories + map('n', '<leader>tc', function() + require('telescope.builtin').find_files { + cwd = vim.fn.stdpath("config") + } + end, { desc = "Fuzzy find over files in my config" }) + map('n', '<leader>tp', function() + require('telescope.builtin').find_files { + cwd = vim.fs.joinpath(vim.fn.stdpath("data"), "site/pack/deps/opt") + } + end, { desc = "Fuzzy find over files in my plugin directory" }) -- enable previewing in the default colorscheme switcher telebuilt.colorscheme = function() |