summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-12-03 12:08:41 -0500
committerMatthew Kosarek <mattkae@protonmail.com>2022-12-03 12:08:41 -0500
commit125e419f6ab8aef0c8ad2995bb8c6e41e88389d6 (patch)
tree8fbbd425e47156e364fd6736209fbddf62595fb5 /lisp
parent355d3e236e1a61986f62ff2df9cc04d281ec1009 (diff)
Death to org modern, and some better scrolling
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el5
-rw-r--r--lisp/org-custom.el15
2 files changed, 13 insertions, 7 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 871491c..899c983 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -21,6 +21,11 @@
(tool-bar-mode -1)
(setq mac-shift-modifier 'meta)
+;; Scroll
+(pixel-scroll-mode 1)
+(setq scroll-preserve-screen-position 1)
+(setq scroll-conservatively 100)
+
;; Tab mode
(global-tab-line-mode t)
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 3a4c7e7..9841bd6 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -52,8 +52,8 @@
(org-indent-mode 1)
(visual-line-mode 1)
- (setq org-blank-before-new-entry (quote ((heading . nil)
- (plain-list-item . nil))))
+ ;; (setq org-blank-before-new-entry (quote ((heading . nil)
+ ;; (plain-list-item . nil))))
(require 'flyspell)
(flyspell-mode 1)
@@ -67,13 +67,14 @@
'((sequence "TODO" "PROGRESS" "VERIFY" "|" "DONE" "ABANDONED")))
(setq org-todo-keyword-faces
- '(("TODO" . "RED") ("PROGRESS" . "royal blue") ("VERIFY" . "#E0A526") ("ABANDONED" . "light gray") ("DONE" . "dark green")))
+ '(("TODO" . (:foreground "RED"))
+ ("PROGRESS" . "royal blue")
+ ("VERIFY" . "#E0A526")
+ ("ABANDONED" . "light gray")
+ ("DONE" . "dark green"))
+ )
(add-hook 'org-mode-hook 'org-custom-hook)
-(use-package org-modern
- :config
- (add-hook 'org-mode-hook #'org-modern-mode))
-
(provide 'org-custom)
;;; org-custom.el ends here