Remove some telescope plugins, update keymaps
This commit is contained in:
parent
2be2aaf8bc
commit
4b410f490f
|
@ -3,31 +3,24 @@ return {
|
||||||
branch = "0.1.x",
|
branch = "0.1.x",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{
|
{
|
||||||
"nvim-lua/plenary.nvim",
|
{ "nvim-lua/plenary.nvim" },
|
||||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||||
{ "tsakirist/telescope-lazy.nvim", dependencies = { "folke/lazy.nvim" } },
|
{ "tsakirist/telescope-lazy.nvim", dependencies = { "folke/lazy.nvim" } },
|
||||||
"folke/noice.nvim",
|
{ "folke/noice.nvim" },
|
||||||
{ "benfowler/telescope-luasnip.nvim", dependencies = { "L3MON4D3/LuaSnip" } },
|
{ "benfowler/telescope-luasnip.nvim", dependencies = { "L3MON4D3/LuaSnip" } },
|
||||||
{
|
|
||||||
"paopaol/telescope-git-diffs.nvim",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim", "sindrets/diffview.nvim" },
|
|
||||||
},
|
|
||||||
"FeiyouG/command_center.nvim",
|
|
||||||
{ "barrett-ruth/telescope-http.nvim", dependencies = { "savq/paq-nvim" } },
|
|
||||||
"aaronhallaert/advanced-git-search.nvim",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cmd = "Telescope",
|
cmd = "Telescope",
|
||||||
init = function()
|
init = function()
|
||||||
vim.keymap.set("n", "<leader>;", "<cmd>Telescope builtin<cr>")
|
|
||||||
vim.keymap.set("n", "<leader>ff", "<cmd>Telescope find_files<cr>")
|
vim.keymap.set("n", "<leader>ff", "<cmd>Telescope find_files<cr>")
|
||||||
vim.keymap.set("n", "<leader>fr", "<cmd>Telescope oldfiles<cr>")
|
vim.keymap.set("n", "<leader>fr", "<cmd>Telescope oldfiles<cr>")
|
||||||
vim.keymap.set("n", "<leader>fg", "<cmd>Telescope live_grep<cr>")
|
vim.keymap.set("n", "<leader>fg", "<cmd>Telescope live_grep<cr>")
|
||||||
vim.keymap.set("n", "<leader>fb", "<cmd>Telescope buffers<cr>")
|
|
||||||
vim.keymap.set("n", "<leader>fs", "<cmd>Telescope lsp_document_symbols<cr>")
|
vim.keymap.set("n", "<leader>fs", "<cmd>Telescope lsp_document_symbols<cr>")
|
||||||
vim.keymap.set("n", "<leader>fe", "<cmd>Telescope diagnostics<cr>")
|
|
||||||
vim.keymap.set("n", "<leader>ft", "<cmd>Telescope treesitter<cr>")
|
vim.keymap.set("n", "<leader>ft", "<cmd>Telescope treesitter<cr>")
|
||||||
vim.keymap.set("n", "<leader>fz", "<cmd>Telescope current_buffer_fuzzy_find<cr>")
|
vim.keymap.set("n", "<leader>fz", "<cmd>Telescope current_buffer_fuzzy_find<cr>")
|
||||||
|
vim.keymap.set("n", "<leader>fl", "<cmd>Telescope lazy<cr>")
|
||||||
|
vim.keymap.set("n", "<leader>fn", "<cmd>Telescope noice<cr>")
|
||||||
|
vim.keymap.set("n", "<leader>fp", "<cmd>Telescope projects<cr>")
|
||||||
end,
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
local trouble = require "trouble.providers.telescope"
|
local trouble = require "trouble.providers.telescope"
|
||||||
|
@ -51,10 +44,6 @@ return {
|
||||||
require("telescope").load_extension "fzf"
|
require("telescope").load_extension "fzf"
|
||||||
require("telescope").load_extension "lazy"
|
require("telescope").load_extension "lazy"
|
||||||
require("telescope").load_extension "noice"
|
require("telescope").load_extension "noice"
|
||||||
require("telescope").load_extension "git_diffs"
|
|
||||||
require("telescope").load_extension "command_center"
|
|
||||||
require("telescope").load_extension "http"
|
|
||||||
require("telescope").load_extension "advanced_git_search"
|
|
||||||
require("telescope").load_extension "projects"
|
require("telescope").load_extension "projects"
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue