make the neotree keybind toggle it

This commit is contained in:
jacekpoz 2024-03-24 15:01:42 +01:00
parent cd17fd0d27
commit 2968ab5423
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -61,8 +61,10 @@ in {
keymaps = [ keymaps = [
{ {
action = "vim.cmd.Neotree"; # TODO move this to lua to be cool
lua = true; # action = "vim.cmd { cmd = \"Neotree\", args = { \"toggle\" } }";
# lua = true;
action = ":Neotree toggle<CR>";
key = "<leader>v"; key = "<leader>v";
} }
{ {