diff options
author | Case Duckworth | 2021-02-22 15:52:47 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-22 15:52:47 -0600 |
commit | 3a2516a9d1bc78bed5ae8adf54b4955e2eba44e7 (patch) | |
tree | f3e8471efdbe6aeacd7efeaa0726d10bba25c181 | |
parent | Remove COMMENTed sections (diff) | |
download | emacs-3a2516a9d1bc78bed5ae8adf54b4955e2eba44e7.tar.gz emacs-3a2516a9d1bc78bed5ae8adf54b4955e2eba44e7.zip |
Add scroll settings
-rw-r--r-- | config.org | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config.org b/config.org index f1c5cff..a9f6420 100644 --- a/config.org +++ b/config.org | |||
@@ -955,6 +955,8 @@ generally use it as a leader for entering applications. | |||
955 | 955 | ||
956 | ** Scrolling | 956 | ** Scrolling |
957 | 957 | ||
958 | *** Fast scrolling | ||
959 | |||
958 | According to [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-order-of-magnitude-faster][Murilo Pereira]], these settings will make Emacs scrolling | 960 | According to [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-order-of-magnitude-faster][Murilo Pereira]], these settings will make Emacs scrolling |
959 | "an order of magnitude faster." | 961 | "an order of magnitude faster." |
960 | 962 | ||
@@ -963,6 +965,14 @@ According to [[https://github.com/mpereira/.emacs.d#make-cursor-movement-an-orde | |||
963 | fast-but-imprecise-scrolling t) | 965 | fast-but-imprecise-scrolling t) |
964 | #+end_src | 966 | #+end_src |
965 | 967 | ||
968 | *** Scroll margins | ||
969 | |||
970 | #+begin_src emacs-lisp :noweb-ref settings | ||
971 | (setq-default scroll-margin 0 | ||
972 | scroll-conservatively 101 ; if greater than 100 ... | ||
973 | scroll-preserve-screen-position 1) | ||
974 | #+end_src | ||
975 | |||
966 | ** Enable commands | 976 | ** Enable commands |
967 | 977 | ||
968 | I think the /disabled command/ feature of Emacs is stupid, especially | 978 | I think the /disabled command/ feature of Emacs is stupid, especially |