Alexander Courtis

Results 488 comments of Alexander Courtis

update_cwd changes the root nicely when you cd. I think the user would like a way to change the root to cwd without having to explicitly change.

> But maybe the DirChanged doesn't fire The only way to know would be to test ;) Have you tried the action I specified above? It will go to `vim.fn.getcwd(-1)`

This is a very ambitious feature. Other plugins, terminal etc. are outside of the scope of nvim-tree and will not be considered. Please explain exactly how this will work: -...

I know this does not exactly fit your requirement, however `update_focused_file.enable` will focus the tree on the file buffer without changing focus.

A proper solution with `find_file(..., no_focus)` would be best. PRs gratefully accepted :)

We can use a custom action to do something like this: ```lua { key = "d", action = "sayonara_remove", action_cb = sayonara_remove, }, ``` ```lua local function sayonara_remove(node) -- foreach...

There are now multiple tree buffers, so each tab retains its own state. Please reopen if you have any further questions or bugs.

> @alex-courtis i believe it does not ? There is still only one tree state for all buffers ~~Whoops. Either way, the nvim-tree in each tab has its own state...

> Can I configure auto_sync_buffers cross all of the tabs? Not sure what you mean by that... is there something you could quickly put together to demonstrate?

I see. Desired functionalities: * One nvim-tree across multiple tabs, with identical / mirrored state * Completely separate nvim-trees for each tab, with their own state that does not affect...