Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter LongTempFloatingWindow to scroll vertically and horizontally #188

Open
curiousponge opened this issue Oct 16, 2022 · 1 comment
Open

Comments

@curiousponge
Copy link

Is your feature request related to a problem? Please describe.
When working with pandas DataFrames, I cannot see the lines and columns beyond my monitor size.

Describe the solution you'd like
The solution could be that we would be able to enter the floating windows to scroll both vertically and horizontally in long outputs. That is already implemented in magma.nvim, so it is definitely possible.

Describe alternatives you've considered
An alternative could be entering the command line output in "Classic" mode, however that also does not work as expected, e.g. the lines are always wrapped and I also cannot enter the cmdline output window.

@michaelb
Copy link
Owner

It's a nice idea. currently no display mode in sniprun can display conveniently huge outputs. (I've been thinking of adding a display mode that would just pipe to a file, though).

I'm not sure I can find the time to work on this very soon,so depending on how time presses, and your knowledge of neovim scripting, I can suggest in the meantime:

  1. (more difficult) Use the display mode 'Api' (doc) to display results into a scrollable floating window
  2. (very easy) Use the display mode 'Api' to print the results into a file that you would have opened/self-refreshing in another split/editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants