summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/sidebars.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-22 15:07:14 +0200
committerJoe <rrbo@proton.me>2023-09-22 15:07:14 +0200
commit727a6edc7545f6c47a8433c8c8cd9bc0423d0103 (patch)
treebbedbce172f77a203d551688471d077384f54f15 /.config/nvim/lua/sidebars.lua
parentup (diff)
downloaddotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.gz
dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.bz2
dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.xz
dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.zst
dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.zip
up
Diffstat (limited to '')
-rw-r--r--.config/nvim/lua/sidebars.lua2
1 files changed, 1 insertions, 1 deletions
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', '<F2>', ':call sidebar#toggle("nerdtree")<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<F4>', ':make<space>-j5<space>', { noremap = true, silent = false })
vim.keymap.set('n', '<F3>', ':call sidebar#toggle("tagbar")<CR>', { noremap = true, silent = true })
-vim.keymap.set('n', '<F5>', ':call sidebar#toggle("undotree")<CR>', { noremap = true, silent = true })
+vim.keymap.set('n', '<F5>', vim.cmd.UndotreeToggle, { noremap = true, silent = true })