Add ultra-scroll as a standard package
This commit is contained in:
parent
e7e61b4134
commit
de618dfde7
2 changed files with 16 additions and 3 deletions
|
@ -26,9 +26,9 @@ If I want to build from source (and not build from Homebrew), install all the de
|
|||
libtiff jansson libpng librsvg gnutls cmake
|
||||
#+end_src
|
||||
|
||||
To get the native compilation for Emacs working, install:
|
||||
To get the native compilation for Emacs working, I [[https://github.com/d12frosted/homebrew-emacs-plus/issues/680#issuecomment-2481633820][need to *un*-install]], as the new brew recipe will take care of this:
|
||||
#+begin_src sh
|
||||
brew install libgccjit
|
||||
brew uninstall libgccjit gcc
|
||||
#+end_src
|
||||
|
||||
Oh, and if we are still building with [[https://imagemagick.org/][ImageMagick]], install that first:
|
||||
|
|
|
@ -79,7 +79,20 @@ I get issues with Magic and Dimmer, so let’s turn off this feature in certain
|
|||
#+end_src
|
||||
|
||||
As an interesting alternative, check out the [[https://www.emacs.dyerdwelling.family/emacs/20240208164549-emacs-selected-window-accent-mode-now-on-melpa/][selected-window-accent]] project.
|
||||
* Find the Bloody Cursor
|
||||
** Ultra Scroll
|
||||
|
||||
The [[https://github.com/jdtsmith/ultra-scroll][ultra-scroll]] project allows smoother scrolling of text and images. While this splits text at the top/bottom of buffer windows, we no longer work within a 80x24 text matrix. Large images would
|
||||
either be "there or not" which resulted large jumps and large distractions.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ultra-scroll
|
||||
:straight (:type git :host github :repo "jdtsmith/ultra-scroll")
|
||||
:config
|
||||
(setq scroll-conservatively 101 ; important!
|
||||
scroll-margin 0)
|
||||
(ultra-scroll-mode 1))
|
||||
#+END_SRC
|
||||
** Find the Bloody Cursor
|
||||
Large screen, lots of windows, so where is the cursor? While I used to use =hl-line+=, I found that the prolific [[https://protesilaos.com/][Protesilaos Stavrou]] [[https://protesilaos.com/codelog/2022-03-14-emacs-pulsar-demo/][introduced his Pulsar project]] is just what I need. Specifically, I might /loose the cursor/ and need to have it highlighted (using ~F8~), but also, this automatically highlights the cursor line with specific /actions/ , like changing windows.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue