MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1upyco/light_table_becomes_open_source/cekyk06/?context=3
r/programming • u/lol-jk • Jan 08 '14
354 comments sorted by
View all comments
Show parent comments
3
Does this help?
(setq scroll-preserve-screen-position t)
You can also save and return to a point in the register, though it's a few additional keystrokes.
2 u/thoomfish Jan 09 '14 No, tried that ages ago. That keeps the cursor in the same position on your monitor, but not the same position in the file. 2 u/[deleted] Jan 09 '14 What about binding (point-to-register) and (jump-to-register) to a simpler set of key bindings? I know it's not as ideal as being able to have a global setting for cursor behavior. -1 u/thoomfish Jan 09 '14 Having to explicitly take two actions every single time I want to scroll is unacceptable. → More replies (3)
2
No, tried that ages ago. That keeps the cursor in the same position on your monitor, but not the same position in the file.
2 u/[deleted] Jan 09 '14 What about binding (point-to-register) and (jump-to-register) to a simpler set of key bindings? I know it's not as ideal as being able to have a global setting for cursor behavior. -1 u/thoomfish Jan 09 '14 Having to explicitly take two actions every single time I want to scroll is unacceptable. → More replies (3)
What about binding (point-to-register) and (jump-to-register) to a simpler set of key bindings? I know it's not as ideal as being able to have a global setting for cursor behavior.
(point-to-register)
(jump-to-register)
-1 u/thoomfish Jan 09 '14 Having to explicitly take two actions every single time I want to scroll is unacceptable. → More replies (3)
-1
Having to explicitly take two actions every single time I want to scroll is unacceptable.
→ More replies (3)
3
u/[deleted] Jan 09 '14
Does this help?
(setq scroll-preserve-screen-position t)
You can also save and return to a point in the register, though it's a few additional keystrokes.