Add some more telescope plugins, lazy load
This commit is contained in:
parent
04ff522a0c
commit
68a1009db7
|
@ -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>")
|
||||
|
|
5
config/nvim/lua/plugins/command_center.lua
Normal file
5
config/nvim/lua/plugins/command_center.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"FeiyouG/command_center.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
lazy = true,
|
||||
}
|
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
7
config/nvim/lua/plugins/telescope_fzf_native.lua
Normal file
7
config/nvim/lua/plugins/telescope_fzf_native.lua
Normal 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,
|
||||
}
|
5
config/nvim/lua/plugins/telescope_http.lua
Normal file
5
config/nvim/lua/plugins/telescope_http.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"barrett-ruth/telescope-http.nvim",
|
||||
dependencies = { "savq/paq-nvim", "nvim-telescope/telescope.nvim" },
|
||||
lazy = true,
|
||||
}
|
Loading…
Reference in a new issue