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

The scroll wired ,when turn off truncate and turn on sublimity-map-on-scroll. #9

Open
xcv58 opened this issue Mar 6, 2014 · 0 comments
Labels

Comments

@xcv58
Copy link

xcv58 commented Mar 6, 2014

I default turn off truncate-lines.

When I scroll in a buffer with lots long lines. Especially scroll up from a little low to beginning of buffer. I can't scroll to the beginning. Because the wrap lines affect the view.

I think the solution is use 'sublimity-map-setup-hook to detect and set truncate-lines to t; and set back to original value.

I have no time to write related codes so I have to do this in my init.el:
(set-default 'truncate-lines t)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants