mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add undo plugin for Telescope
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user