feat(nvim): add undo plugin for Telescope

This commit is contained in:
Stefan Imhoff
2022-12-18 10:37:29 +01:00
parent a7e00b506d
commit 5ea15fe25c
2 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ vim.keymap.set("n", "<leader>nm", [[<Cmd>Telescope node_modules list<CR>]], opts
vim.keymap.set("n", "<leader>r", [[<Cmd>Telescope resume<CR>]], opts)
vim.keymap.set("n", "<leader>tg", [[<Cmd>Telescope tags<CR>]], opts)
vim.keymap.set("n", "<leader>ty", [[<Cmd>Telescope symbols<CR>]], opts)
vim.keymap.set("n", "<leader>u", [[<Cmd>Telescope undo<CR>]], opts)
telescope.load_extension("bookmarks")
telescope.load_extension("node_modules")
@@ -40,6 +41,7 @@ telescope.load_extension("heading")
telescope.load_extension("gh")
telescope.load_extension("git_worktree")
telescope.load_extension("dir")
telescope.load_extension("undo")
telescope.setup({
defaults = {

View File

@@ -146,6 +146,7 @@ return packer.startup(function(use)
use("SmiteshP/nvim-navic") -- Statusline current context
use("kevinhwang91/nvim-bqf") -- Better Quickfix
use({ "kevinhwang91/nvim-ufo", requires = "kevinhwang91/promise-async" }) -- Better folds
use("debugloop/telescope-undo.nvim") -- Undo history
-- Editing Files
use("windwp/nvim-autopairs") -- Autopairs, integrates with both cmp and treesitter