config: nvim: add telescope as fuzzy finder
This commit is contained in:
parent
d7def752af
commit
05f3e283db
2 changed files with 16 additions and 0 deletions
|
|
@ -144,6 +144,15 @@ return require('packer').startup({
|
|||
config = load_config('nvim-cmp'),
|
||||
}
|
||||
|
||||
--------------------
|
||||
-- Misc Utilities
|
||||
--------------------
|
||||
use { -- fuzzy finder
|
||||
'nvim-telescope/telescope.nvim',
|
||||
config = load_config('telescope'),
|
||||
requires = {'nvim-lua/plenary.nvim'},
|
||||
}
|
||||
|
||||
-- Automatically set up your configuration after cloning packer.nvim
|
||||
-- Put this at the end after all plugins
|
||||
if packer_bootstrap then
|
||||
|
|
|
|||
7
config/nvim/lua/plugins/telescope.lua
Normal file
7
config/nvim/lua/plugins/telescope.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
local map = require('utils').map -- import map
|
||||
|
||||
-- telescope keybindings
|
||||
map('n', 'ff', '<cmd>Telescope find_files<CR>')
|
||||
map('n', 'fg', '<cmd>Telescope live_grep<CR>')
|
||||
map('n', 'fb', '<cmd>Telescope buffers<CR>')
|
||||
map('n', 'fh', '<cmd>Telescope help_tags<CR>')
|
||||
Loading…
Add table
Add a link
Reference in a new issue