From 727a6edc7545f6c47a8433c8c8cd9bc0423d0103 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 22 Sep 2023 15:07:14 +0200 Subject: up --- .config/nvim/lua/sidebars.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim/lua/sidebars.lua') diff --git a/.config/nvim/lua/sidebars.lua b/.config/nvim/lua/sidebars.lua index 058a673..796a21d 100644 --- a/.config/nvim/lua/sidebars.lua +++ b/.config/nvim/lua/sidebars.lua @@ -36,4 +36,4 @@ let g:startify_session_before_save = ['call sidebar#close_all()'] vim.keymap.set('n', '', ':call sidebar#toggle("nerdtree")', { noremap = true, silent = true }) vim.keymap.set('n', '', ':make-j5', { noremap = true, silent = false }) vim.keymap.set('n', '', ':call sidebar#toggle("tagbar")', { noremap = true, silent = true }) -vim.keymap.set('n', '', ':call sidebar#toggle("undotree")', { noremap = true, silent = true }) +vim.keymap.set('n', '', vim.cmd.UndotreeToggle, { noremap = true, silent = true }) -- cgit v1.2.3