Scrolling with constant cursor vertical positioning #8179
-
Hello, I would like to scroll in a file while maintaining my cursor at a constant vertical position. This is pure ergonomic improvement as I no longer need to look for the cursor on the screen after I moved. To do so, I created the following mapping on my Helix C-u = ["half_page_up", "align_view_center"]
C-d = ["half_page_down", "align_view_center"]
C-b = ["page_up", "align_view_center"]
C-f = ["page_down", "align_view_center"] This works fine except when scrolling up near the top of the file: the window does not move at all. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
Yes, like this thank you! I will wait for this PR to be merged on master then |
Beta Was this translation helpful? Give feedback.
#7639 #8015 like this?