From 22e5072f70a3269760c5c2e46543102875be4490 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sat, 7 Jan 2023 20:27:03 -0600 Subject: [PATCH] Creating custom start file for Doom. --- .config/doom/config.el | 3 ++- .config/doom/config.org | 8 +++++++- .config/doom/start.org | 21 ++++++++++++++++----- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index bb42a56..1928a5f 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -115,7 +115,7 @@ List of keybindings (SPC h b b)") (setq dashboard-startup-banner "~/.config/doom/doom-emacs-dash.png") ;; use custom image as banner (setq dashboard-center-content nil) ;; set to 't' for centered content (setq dashboard-items '((recents . 5) - ;; (agenda . 5 ) ;; Agenda crashes Dashboard if using weird characters. + ;; (agenda . 5 ) ;; Agenda crashes Dashboard if using custom org-agenda. (bookmarks . 5) (projects . 5) (registers . 5))) @@ -711,6 +711,7 @@ List of keybindings (SPC h b b)") (setq org-agenda-files '("~/nc/Org/agenda.org"))) (setq + ;; org-fancy-priorities-list '("[A]" "[B]" "[C]") ;; org-fancy-priorities-list '("❗" "[B]" "[C]") org-fancy-priorities-list '("🟥" "🟧" "🟨") org-priority-faces diff --git a/.config/doom/config.org b/.config/doom/config.org index 73ebc67..61a5f7b 100644 --- a/.config/doom/config.org +++ b/.config/doom/config.org @@ -14,6 +14,7 @@ - [[#calendar][CALENDAR]] - [[#centaur-tabs][CENTAUR-TABS]] - [[#clippy][CLIPPY]] +- [[#dashboard][DASHBOARD]] - [[#configuring-dashboard][Configuring Dashboard]] - [[#dashboard-in-emacsclient][Dashboard in Emacsclient]] - [[#dired][DIRED]] @@ -245,6 +246,7 @@ Gives us a popup box with "Clippy, the paper clip". You can make him say various #+end_src +* DASHBOARD Emacs Dashboard is an extensible startup screen showing you recent files, bookmarks, agenda items and an Emacs banner. ** Configuring Dashboard @@ -264,7 +266,7 @@ List of keybindings (SPC h b b)") (setq dashboard-startup-banner "~/.config/doom/doom-emacs-dash.png") ;; use custom image as banner (setq dashboard-center-content nil) ;; set to 't' for centered content (setq dashboard-items '((recents . 5) - ;; (agenda . 5 ) ;; Agenda crashes Dashboard if using weird characters. + ;; (agenda . 5 ) ;; Agenda crashes Dashboard if using custom org-agenda. (bookmarks . 5) (projects . 5) (registers . 5))) @@ -1140,6 +1142,7 @@ We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting (setq org-agenda-files '("~/nc/Org/agenda.org"))) (setq + ;; org-fancy-priorities-list '("[A]" "[B]" "[C]") ;; org-fancy-priorities-list '("❗" "[B]" "[C]") org-fancy-priorities-list '("🟥" "🟧" "🟨") org-priority-faces @@ -1168,6 +1171,9 @@ We need ox-man for "Org eXporting" to manpage format and ox-gemini for exporting #+end_src +#+RESULTS: +| v | A better agenda view | ((tags PRIORITY="A" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done)) (org-agenda-overriding-header High-priority unfinished tasks:))) (tags PRIORITY="B" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done)) (org-agenda-overriding-header Medium-priority unfinished tasks:))) (tags PRIORITY="C" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done)) (org-agenda-overriding-header Low-priority unfinished tasks:))) (tags customtag ((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done)) (org-agenda-overriding-header Tasks marked with customtag:))) (agenda ) (alltodo )) | + ** Org-auto-tangle =org-auto-tangle= allows you to add the option =#+auto_tangle: t= in your Org file so that it automatically tangles when you save the document. diff --git a/.config/doom/start.org b/.config/doom/start.org index ecd0746..25de870 100644 --- a/.config/doom/start.org +++ b/.config/doom/start.org @@ -4,10 +4,21 @@ * IMPORTANT KEYBINDINGS -| KEYBINDING | FUNCTION | DESCRIPTION | -|------------+-----------------+-------------------------------| -| SPC . | find-file | Find a file to edit | -| SPC f r | counsel-recentf | Find a file on 'recentf-list' | -| SPC d d | [[elisp:(dired (getenv "HOME"))][Dired HOME]] | Open dired file manager | +| KEYBINDING | FUNCTION | DESCRIPTION | +|------------+-----------------+--------------------| +| SPC . | [[elisp:(ido-find-file)][find-file]] | Find a file | +| SPC f r | [[elisp:(counsel-recentf)][counsel-recentf]] | Find a recent file | +| SPC d d | [[elisp:(dired (getenv "HOME"))][dired]] | Dired file manager | +| SPC b i | [[elisp:(ibuffer)][ibuffer]] | List all buffers | +| SPC e s | [[elisp:(eshell)][eshell]] | Launch the eshell | +| SPC h r r | [[elisp:(doom/reload)][doom/reload]] | Reload Doom Emacs | +| | | | + +* DOOM EMACS CONFIG FILES + +| NAME OF FILE | DESCRIPTION | ++--------------+-------------| +| [[elisp:(ido-find-file)][find-file]] | Find a file | + [[elisp:(find-function 'describe-function)]]