make the neotree keybind toggle it
This commit is contained in:
parent
cd17fd0d27
commit
2968ab5423
1 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue