willothy / flatten.nvim

Open files and command output from wezterm, kitty, and neovim terminals in your current neovim instance
https://luarocks.org/modules/willothy/flatten.nvim
MIT License
473 stars 13 forks source link

Miscellaneous features and fixes #53

Closed IndianBoy42 closed 1 year ago

IndianBoy42 commented 1 year ago

I tried to keep each change in a separate commit so you can cherry pick

IndianBoy42 commented 1 year ago

I just noticed something, because of the last commit where I now use nvim_list_bufs to list the buffers, since mini.files opens the directory when I have an empty argument list. Doing nvim in the other terminal now opens the directory in the host instance. How do you feel about that?

EDIT: actually I guess this should be fixed from the user side