chadtree
chadtree copied to clipboard
user request: ability to choose which window to open in
maybe i can show a 🗺 of the window with each one labeled, and users can pick from there
Related: it'd be nice if files are opened in 'previous window' (the window selected by wincmd p) instead the first main window. Right now for example, if I Ctrl-W S to split, jump to the window below, then to CHADTree, next open a file, the file is always opened in the window above.
It would be nice if there was a way to open files in other panes than just the first one.
coc-explorer uses the labeled pane selection system. i used it for about a week and I'm still not sure if it's better than the 'previous window' behavior that NERDTree uses. but I used NERDTree for years so I may have just been trained into a bad workflow.
Related: it'd be nice if files are opened in 'previous window' (the window selected by
wincmd p) instead the first main window. Right now for example, if ICtrl-W Sto split, jump to the window below, then to CHADTree, next open a file, the file is always opened in the window above.
seconded on this suggestion, I am really enjoying CHADtree but this feels necessary!
Oh yeah, opening in the last opened window would be great! This is the only reason, why I still use the non-chady NERDTree.
But it doesn't seem to be related to this issue. Should I maybe open a new issue?
Good call @jounathaen - probably should be a separate issue.
now that i have the ability to draw floating windows, i can totally draw a minimap of your current window layout.
will do this one for sure because it will be cool
Can't wait! Thx @ms-jpq !!
Not sure if I'm not hijacking this thread, but how about allowing opening the file tree in a floating window? I don't need to keep my file explorer open when I code and I got used to working with fzf like this.
i have some higher priority things to do on chadtree, like performance and stuff.
so things like that will come in when those are done, but i dont see why not.
the code base of chadtree is really nice, and i can support it fairly easily
There's an open PR for something like this on nvim-tree.lua: https://github.com/kyazdani42/nvim-tree.lua/pull/340
The implementation is pretty clean. Might be a good source of inspiration if anyone has time.
hummm thats is really cool, I think Ill do it like that
thank you for show me the link!
Not sure if this is helpful, but I just came across this: https://github.com/s1n7ax/nvim-window-picker
Looks like someone extracted the window selection functionality from nvim_tree.lua. Wondering if this can be leveraged somehow.