telescope-locate.nvim
is an extension for Neovim’s
telescope.nvim to
provide a picker for the GNU
locate
command. It can be downloaded here.
locate
is a GNU utility to locate any file in your system very quickly. It
uses a service that updates a database with all the files for a very fast
search.
telescope-locate.nvim
is an extension, so you need telescope.nvim
to
use the plugin.
Of course, you also need to have locate
installed and running with its
corresponding service.
Install using Plug.
Plug 'nvim-telescope/telescope.nvim'
Plug 'dawsers/telescope-locate.nvim'
and setup and configure using lua:
require('telescope').load_extension('locate')
Command | Description |
---|---|
Telescope locate | Use locate to quickly search for any file |
There is no default mapping.
Find any file in your system quickly, using locate
.
" There is one required parameter, file, with the pattern to search for
:Telescope locate file=*/locate.lua