feat(nvim): telescope git
This commit is contained in:
parent
f3017e49c3
commit
345b55aebb
@ -12,6 +12,8 @@ return {
|
|||||||
keys = {
|
keys = {
|
||||||
{ '<Leader>ff', '<cmd>Telescope find_files<CR>' },
|
{ '<Leader>ff', '<cmd>Telescope find_files<CR>' },
|
||||||
{ '<Leader>fg', '<cmd>Telescope live_grep<CR>' },
|
{ '<Leader>fg', '<cmd>Telescope live_grep<CR>' },
|
||||||
|
{ '<Leader>fc', '<cmd>Telescope git_commits<CR>' },
|
||||||
|
{ '<Leader>fd', '<cmd>Telescope diagnostics<CR>' },
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local telescope = require("telescope")
|
local telescope = require("telescope")
|
||||||
@ -19,6 +21,11 @@ return {
|
|||||||
telescope.load_extension("fzf")
|
telescope.load_extension("fzf")
|
||||||
|
|
||||||
telescope.setup({
|
telescope.setup({
|
||||||
|
pickers = {
|
||||||
|
find_files = {
|
||||||
|
hidden = true
|
||||||
|
},
|
||||||
|
},
|
||||||
defaults = {
|
defaults = {
|
||||||
selection_caret = " ",
|
selection_caret = " ",
|
||||||
path_display = { "smart" },
|
path_display = { "smart" },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user