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
476 stars 13 forks source link

compare to drop in vim-terminal-help #26

Closed Konfekt closed 1 year ago

Konfekt commented 1 year ago

Hello, how about relating it to the drop command of vim-terminal-help?

willothy commented 1 year ago

Hello, how about relating it to the drop command of vim-terminal-help?

Hi, I'm not quite sure what you mean... with Flatten there's no need for a special command to open files in the current instance.

Konfekt commented 1 year ago

Hello, to me it looks like an additional alias nvim=drop on TerminalOpen.

willothy commented 1 year ago

Yeah, I understand that, but I don't see why it's necessary...

Konfekt commented 1 year ago

Thank you, so to me drop in vim-terminal-help achieves what nvim achieves in flatten.nvim. I guess it is somewhat more cautious but also less intuitive to the same end.

willothy commented 1 year ago

Ohh, I misunderstood the question, my bad. Yes, flatten essentially does the same thing as the drop command, but it's integrated fully into Neovim and offers more features such as blocking and piping into buffers from the terminal.