{{ add_source('nvim-telescope/telescope.nvim') -}} {# Dependencies #} {{ add_source('nvim-lua/popup.nvim') -}} {{ add_source('nvim-lua/plenary.nvim') -}} {# Extensions #} {{ add_source('nvim-telescope/telescope-fzf-native.nvim', {'do': 'make'}) -}} noremap gF Telescope find_files noremap gf Telescope git_files noremap gB Telescope buffers noremap gl Telescope current_buffer_fuzzy_find noremap gL Telescope live_grep noremap gT Telescope tags noremap gt Telescope treesitter noremap gm Telescope marks noremap gh Telescope oldfiles noremap gH Telescope command_history noremap gS Telescope search_history noremap gC Telescope commands noremap gr Telescope lsp_references noremap ga Telescope lsp_code_actions vnoremap ga Telescope lsp_range_code_actions noremap ge Telescope lsp_document_diagnostics noremap gE Telescope lsp_workspace_diagnostics noremap gd Telescope lsp_definitions lua << EOF require('telescope').setup{ defaults = { vimgrep_arguments = { 'rg', '--color=never', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case' }, }, extensions = { fzf = { fuzzy = true, -- false will only do exact matching override_generic_sorter = true, -- override the generic sorter override_file_sorter = true, -- override the file sorter case_mode = "smart_case", -- or "ignore_case" or "respect_case" -- the default case_mode is "smart_case" } } } require('telescope').load_extension('fzf') EOF