refactor(nvim): improve telescope bindings & git context

This commit is contained in:
Price Hiller 2023-06-06 19:25:07 -05:00
parent 046158f471
commit 04132aae2a
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,7 @@ telescope.setup({
find_files = {
find_command = {
"fd",
"--no-ignore"
},
hidden = true,
},
@ -19,6 +20,7 @@ telescope.setup({
"--line-number",
"--column",
"--hidden",
"--no-ignore",
"--smart-case",
},
history = {

View File

@ -32,7 +32,8 @@ vim.keymap.set(
":Telescope neoclip default<CR>",
{ silent = true, desc = "Telescope: Neoclip Buffer" }
)
vim.keymap.set("n", "<leader>tr", ":Telescope registers<CR>", { silent = true, desc = "Telescope: Registers" })
vim.keymap.set("n", "<leader>tr", ":Telescope resume<CR>", { silent = true, desc = "Telescope: Resume" })
vim.keymap.set("n", "<leader>tR", ":Telescope registers<CR>", { silent = true, desc = "Telescope: Registers" })
vim.keymap.set("n", "<leader>tt", ":Telescope file_browser<CR>", { silent = true, desc = "Telescope: File Tree" })
vim.keymap.set("n", "<leader>ts", ":Telescope spell_suggest<CR>", { silent = true, desc = "Telescope: Spell Suggest" })
vim.keymap.set("n", "<leader>tl", ":Telescope resume<CR>", { silent = true, desc = "Telescope: Previous State" })