From f7b3e0a7a92903307ef1f4c66992721be6e01e08 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 18 Mar 2019 14:14:26 +0000 Subject: Drop OSX support; support desktop, laptop, cloudtop Dropping support for OSX. Moving forward these dotfiles will depend on Linux systems. Furthermore, since I'm support a ~/bin, the machines that consume these dotfiles depend on i386 architectures. Linux and i386 are two dependencies that I'm okay with since the leverage this assumption provides, makes their existence tolerable. There is some Google leakage herein, which includes aliases, functions, and mentions of cloudtop. For now, this is okay. I may break the Google specific code into its own repository, but for now, this is less maintenance. This also introduces a ~/.profile instead of erroneously defining environment variables in my zshrc file, which was unadvised. This is a large commit and also introduces new aliases, variables, functions that I accumulated over the past week or so while migrating away from OSX and onto my new setup. Hopefully in the future I'll be more precise with my commits. --- .../shared/emacs/.emacs.d/wpc/packages/wpc-org.el | 28 +++++++++++++++------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'configs/shared/emacs/.emacs.d/wpc/packages/wpc-org.el') diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-org.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-org.el index dcbe066885..06e2a27bf9 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-org.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-org.el @@ -6,29 +6,39 @@ ;;; Code: +(getenv "ORG_DIRECTORY") + ;; TODO: figure out how to nest this in (use-package org ...) (setq org-capture-templates - (quote ( + `( + + ("w" "work" entry (file+headline + ,(f-join (getenv "ORG_DIRECTORY") "work.org") + "Tasks") + "* TODO %?") -("w" "work" entry (file+headline "~/Documents/org/work.org" "Tasks") - "* TODO %?") + ("p" "personal" entry (file+headline + ,(f-join (getenv "ORG_DIRECTORY") "personal.org") + "Tasks") + "* TODO %? ") -("p" "personal" entry (file+headline "~/Documents/org/personal.org" "Tasks") - "* TODO %? ") + ("i" "ideas" entry (file+headline + ,(f-join (getenv "ORG_DIRECTORY") "ideas.org") + "Tasks") + "* %? ") -))) + )) (evil-set-initial-state 'org-mode 'insert) (use-package org - :preface - (defconst wpc-org-directory - "~/Documents/org") :config ; (general-add-hook org-mode-hook (disable linum-mode)) (general-define-key :prefix "C-c" "l" #'org-store-link "a" #'org-agenda "c" #'org-capture) + (setq org-todo-keywords + '((sequence "TODO" "BLOCKED" "DONE"))) (setq org-default-notes-file (wpc/org-file "notes")) (setq org-log-done 'time) (setq org-agenda-files (list (wpc/org-file "work") -- cgit 1.4.1