Add some more telescope plugins, lazy load

This commit is contained in:
Evie Litherland-Smith 2023-02-20 17:46:02 +00:00
parent 04ff522a0c
commit 68a1009db7
6 changed files with 22 additions and 9 deletions

View file

@ -7,7 +7,7 @@ vim.keymap.set({ "n", "t" }, "<A-j>", "<CMD>NavigatorDown<CR>")
vim.keymap.set({ "n", "t" }, "<A-p>", "<CMD>NavigatorPrevious<CR>")
-- Telescope
vim.keymap.set("n", "<leader>f;", "<cmd>Telescope builtin<cr>")
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>fb", "<cmd>Telescope buffers<cr>")
vim.keymap.set("n", "<leader>fg", "<cmd>Telescope live_grep<cr>")

View file

@ -0,0 +1,5 @@
return {
"FeiyouG/command_center.nvim",
dependencies = { "nvim-telescope/telescope.nvim" },
lazy = true,
}

View file

@ -1,6 +1,6 @@
return {
"glepnir/dashboard-nvim",
event = "VimEnter",
dependencies = { { "nvim-tree/nvim-web-devicons" } },
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function() require("dashboard").setup(require "config.dashboard") end,
}

View file

@ -3,17 +3,13 @@ return {
branch = "0.1.x",
dependencies = {
{ "nvim-lua/plenary.nvim" },
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
},
{ "rcarriga/nvim-notify" },
},
cmd = "Telescope",
config = function()
require "telescope.actions"
require("telescope").setup(require "config.telescope")
require("telescope").load_extension "fzf"
require("telescope").load_extension "notify"
require("telescope").load_extension "fzf"
require("telescope").load_extension "command_center"
require("telescope").load_extension "http"
end,
}

View file

@ -0,0 +1,7 @@
return {
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
dependencies = { "nvim-telescope/telescope.nvim" },
lazy = true,
config = function() require("telescope").load_extension "fzf" end,
}

View file

@ -0,0 +1,5 @@
return {
"barrett-ruth/telescope-http.nvim",
dependencies = { "savq/paq-nvim", "nvim-telescope/telescope.nvim" },
lazy = true,
}