-
-
Notifications
You must be signed in to change notification settings - Fork 0
FR: Using tmux as an alternative to nvim-terminal #1
Comments
Sounds like a cool feature, but I have a lot of cleanup to do before it will be feasible. I just pulled this out of my dotfiles and the code is a bit of a mess at the moment. |
Renamed the plugin in case you get confused 😉 |
The plugin should be in a decent place to support alternative preview/rendering mechanisms now if you'd like to try to make a PR. |
I will try to do something then, thanks! |
A little context I've been thinking about that might help you. The way that the plugin works currently with the buffer preview window in nvim is via a
I'm not sure what the approach would be for using tmux for the preview window. One option would be to give the CLI the filepath instead of the lines via Does tmux have a way to just render arbitrary text in a pane? If that is somehow possible, we could use the existing rendering mechanism and just give tmux the I haven't used tmux in a while personally (I use Wezterm's mux now) but I'm happy to help out where I can. |
Thanks! Lets see when I find some time. |
Right now I don't have the time to check how this could be implemented, but it would be nice that the plugin detects if
nvim
is running in a tmux session and uses atmux
window command to open the glow previewer.Or maybe a simpler version would be a config parameter that when activated uses tmux instead of nvim-terminal.
What do you think?
The text was updated successfully, but these errors were encountered: