rm telescope
This commit is contained in:
parent
2db18f58ab
commit
e8887b366a
3 changed files with 2 additions and 77 deletions
|
@ -62,68 +62,6 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{ -- telescope
|
||||
"https://github.com/nvim-telescope/telescope.nvim",
|
||||
cmd = "Telescope",
|
||||
dependencies = {
|
||||
"https://github.com/nvim-lua/plenary.nvim",
|
||||
"https://github.com/nvim-lua/popup.nvim",
|
||||
"https://github.com/nvim-telescope/telescope-file-browser.nvim", -- @TODO: j and k to moving in or out of directiry
|
||||
"https://github.com/nvim-telescope/telescope-bibtex.nvim",
|
||||
"https://github.com/nvim-telescope/telescope-symbols.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>tb", "<cmd>Telescope buffers<cr>", desc = "buffers" },
|
||||
{ "<leader>tfb", "<cmd>Telescope file_browser<cr>", desc = "file browser" },
|
||||
{ "<leader>tff", "<cmd>Telescope find_files<cr>", desc = "find file" },
|
||||
{ "<leader>tg", "<cmd>Telescope live_grep<cr>", desc = "grep files" },
|
||||
{ "<leader>th", "<cmd>Telescope help_tags<cr>", desc = "help" },
|
||||
{ "<leader>tk", "<cmd>Telescope keymaps<cr>", desc = "key maps" },
|
||||
{ "<leader>tn", "<cmd>Telescope notify<cr>", desc = "notifications" },
|
||||
{ "<leader>tss", "<cmd>Telescope symbols<cr>", desc = "symbols" },
|
||||
{ "<leader>tse", function ()
|
||||
require(telescope.builtin).symbols{ sources = {"emoji"} }
|
||||
end,
|
||||
desc = "emoji"
|
||||
},
|
||||
{ "<leader>tsm", function ()
|
||||
require(telescope.builtin).symbols{ sources = {"math" } }
|
||||
end,
|
||||
desc = "math"
|
||||
},
|
||||
{ "<leader>tt", "<cmd>Telescope<cr>", desc = "telescope" },
|
||||
|
||||
-- git
|
||||
{ "<leader>gf", "<cmd>Telescope git_files<cr>", desc = "files" },
|
||||
{ "<leader>gc", "<cmd>Telescope git_commits<cr>", desc = "commits" },
|
||||
{ "<leader>gst", "<cmd>Telescope git_status<cr>", desc = "status" },
|
||||
-- buffer
|
||||
{ "<leader>bf", "<cmd>Telescope buffers<cr>", desc = "find buffer" },
|
||||
{ "<leader>bs", "<cmd>Telescope current_buffer_fuzzy_find<cr>", desc = "fuzzy search" },
|
||||
},
|
||||
opts = {
|
||||
defaults = {
|
||||
initial_mode = "normal",
|
||||
},
|
||||
extensions = {
|
||||
bibtex = {
|
||||
depth = 2,
|
||||
},
|
||||
},
|
||||
pickers = {
|
||||
colorscheme = {
|
||||
enable_preview = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
local telescope = require("telescope")
|
||||
telescope.setup(opts)
|
||||
telescope.load_extension("file_browser")
|
||||
telescope.load_extension("bibtex")
|
||||
telescope.load_extension("notify")
|
||||
end,
|
||||
},
|
||||
{ -- a fast motion inside a visible area
|
||||
"https://github.com/ggandor/leap.nvim",
|
||||
event = "BufReadPre",
|
||||
|
@ -156,7 +94,6 @@ return {
|
|||
{ "<leader>gr", group = "reset" },
|
||||
{ "<leader>gs", group = "stage" },
|
||||
{ "<leader>gt", group = "toggle" },
|
||||
{ "<leader>t", group = "telescope" },
|
||||
{ "<leader>u", group = "ui" },
|
||||
{ "<leader>x", group = "diagnostics" },
|
||||
},
|
||||
|
@ -206,7 +143,7 @@ return {
|
|||
dependencies = {
|
||||
"https://github.com/nvim-lua/plenary.nvim",
|
||||
},
|
||||
cmd = { "TodoTrouble", "TodoTelescope" },
|
||||
cmd = { "TodoTrouble" },
|
||||
event = "BufReadPost",
|
||||
keys = {
|
||||
{
|
||||
|
@ -228,11 +165,6 @@ return {
|
|||
"<cmd>TodoTrouble<cr>",
|
||||
desc = "todo (trouble)"
|
||||
},
|
||||
{
|
||||
"<leader>xT",
|
||||
"<cmd>TodoTelescope<cr>",
|
||||
desc = "todo (telescope)"
|
||||
},
|
||||
},
|
||||
config = true,
|
||||
},
|
||||
|
|
|
@ -73,7 +73,6 @@ return {
|
|||
dependencies = {
|
||||
"https://github.com/nvim-lua/plenary.nvim",
|
||||
"https://github.com/sindrets/diffview.nvim",
|
||||
"https://github.com/nvim-telescope/telescope.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>gn", "<CMD>Neogit<CR>", desc = "Neogit", },
|
||||
|
@ -85,11 +84,8 @@ return {
|
|||
event = "BufReadPre",
|
||||
dependencies = {
|
||||
"https://github.com/nvim-lua/plenary.nvim",
|
||||
"https://github.com/nvim-telescope/telescope.nvim",
|
||||
},
|
||||
config = function ()
|
||||
require("telescope").load_extension("git_worktree")
|
||||
end
|
||||
opts = {},
|
||||
},
|
||||
{ -- gitgraph
|
||||
"https://github.com/isakbm/gitgraph.nvim",
|
||||
|
|
|
@ -2,9 +2,6 @@ return {
|
|||
"https://github.com/nvim-neorg/neorg",
|
||||
lazy = false,
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"https://github.com/nvim-neorg/neorg-telescope",
|
||||
},
|
||||
opts = {
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
|
|
Loading…
Reference in a new issue