summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-12-16 11:01:14 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-12-16 11:01:14 +0000
commit0ad608f9b9b29eb1469760b7be9c18b8fe12c6c5 (patch)
treec31a235394050d58ab5092df17168a49e0d8d8e6 /init.el
parentd3a13d625f3b9a8d53e59f5d9ce1fb1b2c0356bd (diff)
hl-line colouring and added CAL org agenda keyword
Diffstat (limited to 'init.el')
-rw-r--r--init.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/init.el b/init.el
index 373a9cc..55fc6f7 100644
--- a/init.el
+++ b/init.el
@@ -28,6 +28,10 @@
(require 'use-package-ensure)
(setq use-package-always-ensure t)
+;; Highlight line
+(set-face-background hl-line-face "pale goldenrod")
+(hl-line-mode 1)
+
;; Deal with history
(setq savehist-file "~/.emacs.d/savehist")
(savehist-mode +1)
@@ -235,7 +239,7 @@
"* %?\nEntered on %U\n %i\n %a")
("c" "Calendar entries")
("cw" "Work Calendar" entry (file+headline "~/Nextcloud/org/cal.org" "DfT")
- "* %?\n%^t\n")
+ "* CAL %?\n%^t\n")
("ch" "Home Calendar" entry (file+headline "~/Nextcloud/org/cal.org" "Home")
"* %?\n%^t\n")
("e" "Emacs Tip" entry (file+headline "~/Nextcloud/org/emacs-tips.org" "Emacs Tips")
@@ -245,7 +249,9 @@
(setq org-todo-keywords
(quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
- (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE" "MEETING" "PROJECT"))))
+ (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)")
+ (sequence "PHONE(o)" "MEETING(m)" "PROJECT(p)" "CAL(i)"))))
+
(setq org-todo-keyword-faces
(quote (("TODO" :foreground "red" :weight bold)
("NEXT" :foreground "blue" :weight bold)
@@ -255,6 +261,7 @@
("CANCELLED" :foreground "forest green" :weight bold)
("MEETING" :foreground "forest green" :weight bold)
("PROJECT" :foreground "OrangeRed2" :weight bold)
+ ("CAL" :foreground "DarkOliveGreen" :weight bold)
("PHONE" :foreground "forest green" :weight bold))))
;; tag stuff automatically dependent on a change of state