From 2d5b5cb37d248dbe541f97a959c9e33d8666274b Mon Sep 17 00:00:00 2001 From: stitchy Date: Sun, 8 Dec 2024 09:51:19 +0000 Subject: [PATCH] nvim: switch undotree for telescope-undo-nvim Undotree did not have live updates like I wanted, so I have switched to the telescope one which does. --- config/nvim/lua/keymap.lua | 2 +- packages/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nvim/lua/keymap.lua b/config/nvim/lua/keymap.lua index 1a5f7ae..6336d20 100644 --- a/config/nvim/lua/keymap.lua +++ b/config/nvim/lua/keymap.lua @@ -35,7 +35,7 @@ map("n", ">", "BufferLineMoveNext", { desc = "Move buffer right map("n", "a", "ToggleTerm name=main", { desc = "Floating Terminal", silent = true }) -- Undotree -map('n', 'fu', vim.cmd.UndotreeToggle) +map("n", "fu", "Telescope undo") ---- -- Cool Macros ---- diff --git a/packages/default.nix b/packages/default.nix index f584ad8..7711682 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -115,10 +115,10 @@ in nvim-lspconfig spaceman-nvim telescope-nvim + telescope-undo-nvim toggleterm-nvim tokyonight-nvim typst-vim - undotree vim-lsp-cxx-highlight which-key-nvim ];