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

Feature request: Add top padding for small files #276

Open
kukat opened this issue Dec 4, 2023 · 3 comments
Open

Feature request: Add top padding for small files #276

kukat opened this issue Dec 4, 2023 · 3 comments
Labels
enhancement New feature or request need investigation When an issue lack context/is not straight forward to solve

Comments

@kukat
Copy link

kukat commented Dec 4, 2023

Describe the problem

I have 2nd monitor in portrait mode, when open small files or create a new file, the first line is always on the very top.
We can use set so and zz for the "bottom padding" but not possible for top.
It will be great if we can add top padding automatically for small files, and maybe adjust the top padding height base on the content height while editing

Describe the solution

similar to left padding?

@kukat kukat changed the title Add top padding for small files Feature request: Add top padding for small files Dec 4, 2023
@shortcuts shortcuts added enhancement New feature or request need investigation When an issue lack context/is not straight forward to solve labels Dec 6, 2023
@shortcuts
Copy link
Owner

Hey @kukat, thanks for using the plugin and for the feature request!

The plugin does not support adding padding to top-bottom of the screen because it would more be the role of a "popup" window to have padding on all sides

I can try to investigate a solution in order to have a vertical centering for portrait screens, will let you know how it goes! Don't hesitate to submit ideas if you have any :D

@rappie
Copy link

rappie commented Jul 14, 2024

Any news on this? I would love this feature as well, perhaps as a different plugin?

I'm migrating from Emacs to Neovim, and I'm currently using the Topspace plugin for this:
https://github.com/trevorpogue/topspace

@shortcuts
Copy link
Owner

Hey, I might be able to introduce this as an option but have other priority fixes first, once I'm done with #375 I might dedicate some time for this one!

Thanks for bumping the issue and trying the plugin :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request need investigation When an issue lack context/is not straight forward to solve
Projects
None yet
Development

No branches or pull requests

3 participants