From 8e01e2020213b17f752da4876e2d774771061a8c Mon Sep 17 00:00:00 2001 From: servostar Date: Sun, 10 Nov 2024 20:13:52 +0100 Subject: [PATCH] feat: add keybind to toggle neol-tree --- lua/config/keys.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/config/keys.lua b/lua/config/keys.lua index 4decce1..8b103e4 100644 --- a/lua/config/keys.lua +++ b/lua/config/keys.lua @@ -125,6 +125,14 @@ local keymaps = { cmd = '', desc = "Scroll leftways" }, + { + mode = { 'i', 'n', 'v' }, + keys = '', + cmd = function() + vim.cmd('Neotree toggle') + end, + desc = "Toggle neotree" + }, -- -- Tab (barbar) controls -- ..............................................