neovim: Add file and git finding to telescope
This commit is contained in:
parent
263b6a2a08
commit
0508cddeb0
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,9 @@ in {
|
||||||
'' + ''
|
'' + ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
local builtin = require('telescope.builtin')
|
||||||
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||||
|
vim.keymap.set('n', '<leader>fg', builtin.git_files, {})
|
||||||
|
|
||||||
'' + lib.strings.optionalString cfgp.telescope.fzf.enable ''
|
'' + lib.strings.optionalString cfgp.telescope.fzf.enable ''
|
||||||
require('telescope').load_extension('fzf')
|
require('telescope').load_extension('fzf')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue