From f4c7433fd2894f389308b4ecef7f7e66f891a942 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Mon, 19 May 2025 17:14:58 -0300 Subject: [PATCH] feat(navigation): undo history tree via telescope --- lua/dot013/plugins/navigation.lua | 3 +++ package.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/lua/dot013/plugins/navigation.lua b/lua/dot013/plugins/navigation.lua index bdf8c56..c0fd816 100644 --- a/lua/dot013/plugins/navigation.lua +++ b/lua/dot013/plugins/navigation.lua @@ -54,13 +54,16 @@ return { desc = "[Telescope] Find word in all files", }, { "fs", ":lua require('telescope.builtin').resume()", desc = "[Telescope] Resume search" }, + { "u", "Telescope undo", desc = "[Telescope] Undo history" }, }, after = function() require("telescope").setup() require("telescope").load_extension("zf-native") + require("telescope").load_extension("undo") end, }, { "telescope-zf-native.nvim", dep_of = { "telescope.nvim" } }, + { "telescope-undo.nvim", dep_of = { "telescope.nvim" } }, -- File quick switching { diff --git a/package.nix b/package.nix index fb97ddd..b7bc534 100644 --- a/package.nix +++ b/package.nix @@ -50,6 +50,7 @@ tailwind-tools-nvim telescope-nvim telescope-zf-native-nvim + telescope-undo-nvim trouble-nvim tmux-nvim vim-sleuth