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
|
{ -- a fast motion inside a visible area
|
||||||
"https://github.com/ggandor/leap.nvim",
|
"https://github.com/ggandor/leap.nvim",
|
||||||
event = "BufReadPre",
|
event = "BufReadPre",
|
||||||
|
@ -156,7 +94,6 @@ return {
|
||||||
{ "<leader>gr", group = "reset" },
|
{ "<leader>gr", group = "reset" },
|
||||||
{ "<leader>gs", group = "stage" },
|
{ "<leader>gs", group = "stage" },
|
||||||
{ "<leader>gt", group = "toggle" },
|
{ "<leader>gt", group = "toggle" },
|
||||||
{ "<leader>t", group = "telescope" },
|
|
||||||
{ "<leader>u", group = "ui" },
|
{ "<leader>u", group = "ui" },
|
||||||
{ "<leader>x", group = "diagnostics" },
|
{ "<leader>x", group = "diagnostics" },
|
||||||
},
|
},
|
||||||
|
@ -206,7 +143,7 @@ return {
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"https://github.com/nvim-lua/plenary.nvim",
|
"https://github.com/nvim-lua/plenary.nvim",
|
||||||
},
|
},
|
||||||
cmd = { "TodoTrouble", "TodoTelescope" },
|
cmd = { "TodoTrouble" },
|
||||||
event = "BufReadPost",
|
event = "BufReadPost",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
|
@ -228,11 +165,6 @@ return {
|
||||||
"<cmd>TodoTrouble<cr>",
|
"<cmd>TodoTrouble<cr>",
|
||||||
desc = "todo (trouble)"
|
desc = "todo (trouble)"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"<leader>xT",
|
|
||||||
"<cmd>TodoTelescope<cr>",
|
|
||||||
desc = "todo (telescope)"
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
|
|
|
@ -73,7 +73,6 @@ return {
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"https://github.com/nvim-lua/plenary.nvim",
|
"https://github.com/nvim-lua/plenary.nvim",
|
||||||
"https://github.com/sindrets/diffview.nvim",
|
"https://github.com/sindrets/diffview.nvim",
|
||||||
"https://github.com/nvim-telescope/telescope.nvim",
|
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>gn", "<CMD>Neogit<CR>", desc = "Neogit", },
|
{ "<leader>gn", "<CMD>Neogit<CR>", desc = "Neogit", },
|
||||||
|
@ -85,11 +84,8 @@ return {
|
||||||
event = "BufReadPre",
|
event = "BufReadPre",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"https://github.com/nvim-lua/plenary.nvim",
|
"https://github.com/nvim-lua/plenary.nvim",
|
||||||
"https://github.com/nvim-telescope/telescope.nvim",
|
|
||||||
},
|
},
|
||||||
config = function ()
|
opts = {},
|
||||||
require("telescope").load_extension("git_worktree")
|
|
||||||
end
|
|
||||||
},
|
},
|
||||||
{ -- gitgraph
|
{ -- gitgraph
|
||||||
"https://github.com/isakbm/gitgraph.nvim",
|
"https://github.com/isakbm/gitgraph.nvim",
|
||||||
|
|
|
@ -2,9 +2,6 @@ return {
|
||||||
"https://github.com/nvim-neorg/neorg",
|
"https://github.com/nvim-neorg/neorg",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
version = "*",
|
version = "*",
|
||||||
dependencies = {
|
|
||||||
"https://github.com/nvim-neorg/neorg-telescope",
|
|
||||||
},
|
|
||||||
opts = {
|
opts = {
|
||||||
load = {
|
load = {
|
||||||
["core.defaults"] = {},
|
["core.defaults"] = {},
|
||||||
|
|
Loading…
Reference in a new issue