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: scroll past the end #11

Closed
CarbonaraJack opened this issue Feb 4, 2020 · 3 comments
Closed

Feature request: scroll past the end #11

CarbonaraJack opened this issue Feb 4, 2020 · 3 comments

Comments

@CarbonaraJack
Copy link

Hello, I am currently in the process of learning VIM and your awesome plugin helps me a lot. Before installing smoothie I would always feel lost when scrolling though text and I am very grateful for that.

Would it be possible to implement scrolling past the end of files? In another issue you mention that smoothie only works with commands that move the window over the buffer but not by moving the cursor. Does this apply to zz, zt and zb as well?

@psliwka
Copy link
Owner

psliwka commented Apr 4, 2020

Hi, and thanks for the kind words :)

Would it be possible to implement scrolling past the end of files?

Ah, yes. I see that original ^F can scroll past the EOL, eventually leaving only one last line visible on screen. Since the goal of this project is 100% compatibility with native commands, I'd say this is certainly a valid request.

In another issue you mention that smoothie only works with commands that move the window over the buffer but not by moving the cursor. Does this apply to zz, zt and zb as well?

zz and friends are scrolling commands indeed, and should be quite easy to implement. I'd be glad to review a PR adding them ;)

subnut added a commit to subnut/vim-smoothie that referenced this issue Oct 31, 2020
subnut added a commit to subnut/vim-smoothie that referenced this issue Oct 31, 2020
subnut added a commit to subnut/vim-smoothie that referenced this issue Oct 31, 2020
subnut added a commit to subnut/vim-smoothie that referenced this issue Oct 31, 2020
@subnut
Copy link
Contributor

subnut commented Oct 31, 2020

Would it be possible to implement scrolling past the end of files?

@CarbonaraJack I have tried to implement this feature in commit 2bdd74f in PR #21
Please test for any bugs in the implementation. Thank you.

subnut added a commit to subnut/vim-smoothie that referenced this issue Nov 22, 2020
@psliwka
Copy link
Owner

psliwka commented Dec 25, 2020

Marking this issue as resolved. Progress on zz and friends will be tracked in #26.

@psliwka psliwka closed this as completed Dec 25, 2020
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

Successfully merging a pull request may close this issue.

3 participants