From 52005140a9191c8200d0bc97e17129041be18754 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 16 Dec 2019 20:08:37 +0100 Subject: [PATCH] Rice Org mode while improving the config layout --- +org.el | 4 ++-- config.el | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/+org.el b/+org.el index 60eb9f2..ef67db0 100644 --- a/+org.el +++ b/+org.el @@ -4,9 +4,9 @@ ;; Change Org TODO keywords (setq org-todo-keywords '((sequence "TODO" "NEXT" "WAITING" "INACTIVE" "|" "DONE" "CANCELLED"))) ;; Rice Org elements -(setq org-todo-keyword-faces '(("INACTIVE" . "grey") ("NEXT" . "turquoise") ("WAITING" . "")) +(setq org-todo-keyword-faces '(("INACTIVE" . "grey") ("NEXT" . "turquoise") ("WAITING" . warning)) org-ellipsis " ▼ " - org-bullets-bullet-list '("◉" "⋆" "○" "‣")) + org-bullets-bullet-list '("◉" "⁖" "○" "‣")) ;; Cycle through Org header visibility and disable completion (after! evil-org (remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h) diff --git a/config.el b/config.el index a2b2a86..18674f7 100644 --- a/config.el +++ b/config.el @@ -3,8 +3,8 @@ ;; Place your private configuration here ;; ;; Set Font and theme -(setq doom-font (font-spec :family "Iosevka" :size 16)) -(setq doom-theme 'doom-city-lights) +(setq doom-font (font-spec :family "Iosevka" :size 16) + doom-theme 'doom-city-lights) ;; Start maximized (add-to-list 'default-frame-alist '(fullscreen . maximized)) ;; Set projects directories @@ -19,11 +19,11 @@ (get-buffer-create "*compilation*")) (message "No Compilation Errors!"))))) ; Auto cleanup recentf -(setq recentf-auto-cleanup 180) +(setq recentf-auto-cleanup '300) ; Save backup files to ~/.cache and autosave files to ~/.cache/emacs -(setq backup-directory-alist `(("." . "~/.cache"))) -(setq auto-save-list-file-prefix - (concat "~/.cache/emacs")) +(setq backup-directory-alist `(("." . "~/.cache")) + auto-save-list-file-prefix + (concat "~/.cache/emacs")) ;; Set Magit repositories (setq magit-repository-directories '(("~/Projects" . 2) ("~/.dotfiles" . 0) @@ -39,3 +39,5 @@ (defun revert-buffer-no-confirm () (interactive) (revert-buffer :ignore-auto :noconfirm)) +;; Select target in Makefile compilation as default +(map! :leader :n "c c" #'makefile-executor-execute-project-target)