Update .spacemacs

This commit is contained in:
Tony Grosinger 2019-12-12 10:55:45 -08:00 committed by Tony Grosinger
parent f02fc1c817
commit dc02c9ed7d

View File

@ -363,6 +363,14 @@ you should place your code here."
'(("INPROGRESS" . "yellow")
("WONTDO" . "grey")))
;; Custom Archive
(defun archive-task-today ()
(interactive)
(let* ((date (format-time-string "%Y-%m-%b"))
(org-archive-location (concat "~/org/" date ".org::datetree/** Tasks for today")))
(org-archive-subtree)))
(spacemacs/set-leader-keys-for-major-mode 'org-mode "st" 'archive-task-today)
;; Agenda
(setq org-agenda-start-with-follow-mode t)
(setq org-agenda-skip-scheduled-if-done t)
@ -483,7 +491,7 @@ This function is called at the very end of Spacemacs initialization."
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-agenda-files (quote ("~/org")))
'(org-agenda-files (quote ("~/org" "~/org/notes")))
'(package-selected-packages
(quote
(org-sticky-header ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile projectile pkg-info epl helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))))