How do I use Telescope for fuzzy finding in Neovim?
Answer
:Telescope find_files
Explanation
Telescope is a highly extensible fuzzy finder for Neovim. It provides a beautiful floating window interface for searching files, text, buffers, and more.
How it works
:Telescope find_filesopens the file finder:Telescope live_grepsearches text across files:Telescope bufferslists open buffers:Telescope help_tagssearches help documentation
Example
-- Neovim Lua configuration
vim.keymap.set('n', '<leader>ff', ':Telescope find_files<CR>')
vim.keymap.set('n', '<leader>fg', ':Telescope live_grep<CR>')
vim.keymap.set('n', '<leader>fb', ':Telescope buffers<CR>')
Tips
- Requires Neovim 0.5+
- Install with a plugin manager supporting Lua plugins
<C-x>opens in a split,<C-v>in a vsplit- Highly customizable with Lua configuration
- Extensions available for git, LSP, file browser, and more