projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* .emacs.d/init.el: Scroll conservatively and don't recenter point.
[~bandali/configs]
/
.emacs.d
/
init.el
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
11e4fb2
..
7f1471d
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-200,6
+200,7
@@
resize-mini-windows t
mode-line-compact t
;; mouse-autoselect-window t
resize-mini-windows t
mode-line-compact t
;; mouse-autoselect-window t
+ scroll-conservatively 101
scroll-preserve-screen-position 1
;; i don't feel like jumping out of my chair every now and again;
;; so...don't *BEEP* at me, emacs =)
scroll-preserve-screen-position 1
;; i don't feel like jumping out of my chair every now and again;
;; so...don't *BEEP* at me, emacs =)
@@
-786,6
+787,12
@@
Effectively a very simple light/dark theme toggle switch."
(add-hook 'tex-mode-hook #'auto-fill-mode)
(add-hook 'tex-mode-hook #'flyspell-mode)
(add-hook 'tex-mode-hook #'auto-fill-mode)
(add-hook 'tex-mode-hook #'flyspell-mode)
+(run-with-idle-timer 0.5 nil #'require 'cmake-mode)
+(with-eval-after-load 'cmake-mode
+ (setq cmake-tab-width 4)
+ (add-to-list 'load-path (b/lisp "cmake-font-lock"))
+ (run-with-idle-timer 0.5 nil #'require 'cmake-font-lock))
+
\f
;;; Emacs enhancements & auxiliary packages
\f
;;; Emacs enhancements & auxiliary packages