Smooth scrolling #10220
Replies: 7 comments
-
Does changing the value of |
Beta Was this translation helpful? Give feedback.
-
Actually mouse scrolling is ok, but what I wished for was smooth scroll for: half page up/down, full page up/down hotkeys. |
Beta Was this translation helpful? Give feedback.
-
Personally I find smooth scrolling disorienting. It's also very inefficient because it will trigger lots of full screen redraws. To get this into We will support smooth scrolling on alternate renderers one day though. |
Beta Was this translation helpful? Give feedback.
-
Made a poll: #3746 |
Beta Was this translation helpful? Give feedback.
-
In vim or neovim, one can use In helix, my current workaround is:
Or you can add a key mapping for this combination: [keys.normal]
C-e = ["align_view_bottom", "move_line_down" ]
C-y = ["align_view_top", "move_line_up" ] Really love to see this feature added in helix:) |
Beta Was this translation helpful? Give feedback.
-
Thank you Steve. This works better to me. test both version to your liking: [keys.normal]
# C-e = "scroll_down"
# C-y = "scroll_up"
C-e = ["scroll_down", "move_line_down"]
C-y = ["scroll_up", "move_line_up"] NOTE: When cursor is in the first line it jumps to the 8th line. It doesn't happen from bottom to top ADDENDUM: The cursor gets to the 8th line, because it's taking into account the scrolloff (default:5) + the movie_line_down. In step-by-step is like this: We are in line 1, we scroll_down, which leaves us at line 2, we move the cursor one more time with move_line_down leaves us at line 3 and the scrolloff (default: 5) leaves us at line 8. helix/helix-term/src/commands.rs Line 1555 in 2b7e7c8 and that's why it doesn't happen at the bottom when scrolling up, because the buffer is allowed to be scrolled past the EOF. ADDENDUM 2: Just learn about 'sticky view mode'. With sticky mode you just do Shift-z and then you can scroll with j/k keys. |
Beta Was this translation helpful? Give feedback.
-
You can enable smooth scrolling with this plugin: https://github.com/thomasschafer/smooth-scroll.hx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I did not saw anyone requesting this.
smooth_scroll.mp4
Document navigation without smooth scroll is very confusing IMO. Would love to se this in helix
Beta Was this translation helpful? Give feedback.
All reactions