![]() ![]() I have found that this solution has a few caveats that might be helpful to know: (setq mouse-wheel-progressive-speed nil) Progressive speed is too fast for me. (setq mouse-wheel-scroll-amount '(1)) Distance in pixel-resolution to scroll each mouse wheel event. (setq pixel-resolution-fine-flag t) Scroll by number of pixels instead of lines (t = frame-char-height pixels). (setq pixel-dead-time 0) Never go back to the old scrolling behaviour. So unfortunately I think we'll just have to live with of lines that point moves in pixel-scroll.el ruins large image Note: Scroll lags when point must be moved but increasing the number Good speed and allow scrolling through large images (pixel-scroll). To achieve this I have used the following configuration: Scrolling. Since Emacs 26.1, the buffer can be scrolled by individual pixels instead of just lines which can be used to smoothly scroll over images using the mouse wheel. ![]() It can be configured via org-file-apps by adding: extension: \.png\' Somewhat of a workaround, but useful for working with images in org-mode was to open them in an external app that auto-reloads on file change.Įxample would be eog (eye of gnome) or shutter or prievew (on OS X). But keyboard scrolling would be a bonus if proper mouse scrolling would work. However, it seems an in-line image only takes up 'one-line' and fixing emacs to scroll only by 'one-line' doesn't fix the issue. I tried smooth-scroll package and this snippet also. I have tried: (setq auto-window-vscroll nil) I would like a smooth scoll experience, to gently scroll past the image like in a web browser, without jerking. ![]() This makes it hard to work with large plantuml/graphviz diagrams in org-mode. Similarly if I scroll up and run into an image, I get a jerk and see the whole image instead of seeing it incrementally bit by bit. However, for large-images, when I scroll past the bottom of the image, I get a 'jerk' and the whole image is scrolled away. I display images in-line with begin_src
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |