diff options
| author | benj <benj@rse8.com> | 2023-11-25 10:02:42 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2023-11-25 10:02:42 -0800 |
| commit | 4cfa8246ea7eec4139ba6c34d3fb3a4545956824 (patch) | |
| tree | 450ba709847d3740eef79753c428095bdb08fe62 /settings/setup-org-mode.el | |
| parent | 4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 (diff) | |
| download | emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.gz emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.bz2 emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.lz emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.xz emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.zst emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.zip | |
rewrite emacs init.el and go back to basics
This is a complete rewrite leveraging the very popular use-package to
see how I like it. We reduce init.el to a bare minimum configuration
and remove the previous homebrew organizational scheme. A number of
packages have yet to be setup, but we'll wait and do in JIT.
Diffstat (limited to '')
| -rw-r--r-- | settings/setup-org-mode.el | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/settings/setup-org-mode.el b/settings/setup-org-mode.el deleted file mode 100644 index daac7d0..0000000 --- a/settings/setup-org-mode.el +++ /dev/null @@ -1,40 +0,0 @@ -;; Pretty bullets -(global-set-key (kbd "C-c a") 'org-agenda) - -(require 'rainbow-mode) -(add-hook 'org-mode-hook 'rainbow-mode) - -(setq org-directory "~/workspace/.org") -(setq org-base-directory "~/workspace/.org") - -(setq - org-export-html-postamble nil - org-log-done 'note - org-todo-keywords '((sequence "Todo(t)" "In Progress(w)" "Blocked(b)" "|" "DONE(d)" "CANCELLED(c)")) - - org-inbox-file (concat org-base-directory "/inbox.org") - org-projects-file (concat org-base-directory "/projects.org") - org-someday-file (concat org-base-directory "/someday.org") - org-watchdog-file (concat org-base-directory "/watchdog.org") - - org-agenda-files `(,org-inbox-file ,org-projects-file ,org-watchdog-file) - org-refile-targets '((org-projects-file :maxlevel . 3) - (org-someday-file :level . 1) - (org-watchdog-file :maxlevel . 2))) - - -;; setup: org-capture -(setq org-capture-templates '(("t" "Todo [inbox]" entry - (file+headline org-inbox-file "Backlog") - "*** Todo %i %?"))) - -(setq org-agenda-custom-commands - '(("b" "Bug" tags-todo "@bug" - ((org-agenda-overriding-header "Bug"))))) - - -(global-set-key (kbd "C-c C-o c") 'org-capture) -(global-set-key (kbd "C-c C-o o") '(lambda () (interactive) (find-file org-base-directory))) -(global-set-key (kbd "C-c C-o i") '(lambda () (interactive) (find-file (concat org-base-directory "/inbox.org")))) - -(provide 'setup-org-mode) |
