diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua index 77245c1..7320e7d 100644 --- a/nvim/lua/plugins/telescope.lua +++ b/nvim/lua/plugins/telescope.lua @@ -33,14 +33,66 @@ return { 'nvim-lua/plenary.nvim' }, keys = { - { 'ff', 'Telescope find_files' }, - { 'fg', 'Telescope git_commits' }, - { 'fh', 'Telescope help_tags' }, - { 'fr', 'Telescope live_grep' }, - { 'fm', 'Telescope marks' }, - { 'fb', 'Telescope buffers' }, - { 'fd', 'Telescope diagnostics' }, - { 'fs', 'Telescope lsp_document_symbols' }, - { 'fw', 'Telescope lsp_dynamic_workspace_symbols' }, + { + ';f', + function() + require('telescope.builtin').find_files({ + no_ignore = false, + hidden = true, + file_ignore_patterns = { + '.git', + '.node_modules', + }, + }) + end, + }, + { + ';r', + function() + require('telescope.builtin').live_grep() + end, + }, + { + '\\\\', + function() + require('telescope.builtin').buffers() + end, + }, + { + ';h', + function() + require('telescope.builtin').help_tags() + end, + }, + { + ';;', + function() + require('telescope.builtin').resume() + end, + }, + { + ';d', + function() + require('telescope.builtin').diagnostics() + end, + }, + { + ';t', + function() + require('telescope.builtin').treesitter() + end, + }, + { + ';s', + function() + require('telescope.builtin').lsp_document_symbols() + end + }, + { + ';w', + function() + require('telescope.builtin').lsp_dynamic_workspace_symbols() + end + }, }, }