You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When you create a file, it gets put into the file list in alphabetical order which means you have to navigate down to the newly created file in order to open it.
Describe the solution you'd like
It would be great if nvim-tree could automatically open newly created files.
Activity
kyazdani42 commentedon Mar 29, 2022
you could do it yourself :)
Cgboal commentedon Mar 29, 2022
Ahh I saw the event in the man page but wasn't sure how to link it up, thank you.
magoz commentedon Oct 16, 2022
It shows as deprecated.
What's the new way of calling
nvim-tree.events.on_file_created?alex-courtis commentedon Oct 17, 2022
Take a look at
:help nvim-tree-events.Event.FileCreatedis the one.magoz commentedon Oct 17, 2022
Thank you!
This worked for me:
alex-courtis commentedon Jan 14, 2023
Fantastic! Could you please add this useful Recipe to the Wiki? Don't forget to credit yourself...
magoz commentedon Jan 15, 2023
Done! :-)
alex-courtis commentedon Jan 16, 2023
Many thanks!