refactor(nvim): improve telescope bindings & git context
This commit is contained in:
parent
046158f471
commit
04132aae2a
@ -6,6 +6,7 @@ telescope.setup({
|
|||||||
find_files = {
|
find_files = {
|
||||||
find_command = {
|
find_command = {
|
||||||
"fd",
|
"fd",
|
||||||
|
"--no-ignore"
|
||||||
},
|
},
|
||||||
hidden = true,
|
hidden = true,
|
||||||
},
|
},
|
||||||
@ -19,6 +20,7 @@ telescope.setup({
|
|||||||
"--line-number",
|
"--line-number",
|
||||||
"--column",
|
"--column",
|
||||||
"--hidden",
|
"--hidden",
|
||||||
|
"--no-ignore",
|
||||||
"--smart-case",
|
"--smart-case",
|
||||||
},
|
},
|
||||||
history = {
|
history = {
|
||||||
|
@ -32,7 +32,8 @@ vim.keymap.set(
|
|||||||
":Telescope neoclip default<CR>",
|
":Telescope neoclip default<CR>",
|
||||||
{ silent = true, desc = "Telescope: Neoclip Buffer" }
|
{ 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>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>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" })
|
vim.keymap.set("n", "<leader>tl", ":Telescope resume<CR>", { silent = true, desc = "Telescope: Previous State" })
|
||||||
|
Loading…
Reference in New Issue
Block a user