Replies: 1 comment
-
Initial thoughts:
That if statement can be tricky to evaluate. Idea: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to achieve the following functionality off of a single keybind
<C-e>
for my nvimtree.When the keybind is pressed, I invoke a function that does the following:
I have the script written and mostly working with one problem. When I press my keybind with the NVimTree window focused to close it, it closes nvimtree but not the split. I've even tried:
But nothing works. I'm always left with a split where the nvimtree was showing the next available buffer.

How can I ensure the split gets closed as well?
Then if I press :

But what I really want is:

Is there a proper way to do this or is it a bug?
Beta Was this translation helpful? Give feedback.
All reactions