packages.el 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ;;; packages.el --- chicken-dotfiles layer packages file for Spacemacs.
  2. ;;
  3. ;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
  4. ;;
  5. ;; Author: Eiyeron <eiyeron@Ducktop>
  6. ;; URL: https://github.com/syl20bnr/spacemacs
  7. ;;
  8. ;; This file is not part of GNU Emacs.
  9. ;;
  10. ;;; License: GPLv3
  11. ;;; Commentary:
  12. ;; See the Spacemacs documentation and FAQs for instructions on how to implement
  13. ;; a new layer:
  14. ;;
  15. ;; SPC h SPC layers RET
  16. ;;
  17. ;;
  18. ;; Briefly, each package to be installed or configured by this layer should be
  19. ;; added to `chicken-dotfiles-packages'. Then, for each package PACKAGE:
  20. ;;
  21. ;; - If PACKAGE is not referenced by any other Spacemacs layer, define a
  22. ;; function `chicken-dotfiles/init-PACKAGE' to load and initialize the package.
  23. ;; - Otherwise, PACKAGE is already referenced by another Spacemacs layer, so
  24. ;; define the functions `chicken-dotfiles/pre-init-PACKAGE' and/or
  25. ;; `chicken-dotfiles/post-init-PACKAGE' to customize the package as it is loaded.
  26. ;;; Code:
  27. (defconst chicken-dotfiles-packages
  28. '()
  29. "The list of Lisp packages required by the chicken-dotfiles layer.
  30. Each entry is either:
  31. 1. A symbol, which is interpreted as a package to be installed, or
  32. 2. A list of the form (PACKAGE KEYS...), where PACKAGE is the
  33. name of the package to be installed or loaded, and KEYS are
  34. any number of keyword-value-pairs.
  35. The following keys are accepted:
  36. - :excluded (t or nil): Prevent the package from being loaded
  37. if value is non-nil
  38. - :location: Specify a custom installation location.
  39. The following values are legal:
  40. - The symbol `elpa' (default) means PACKAGE will be
  41. installed using the Emacs package manager.
  42. - The symbol `local' directs Spacemacs to load the file at
  43. `./local/PACKAGE/PACKAGE.el'
  44. - A list beginning with the symbol `recipe' is a melpa
  45. recipe. See: https://github.com/milkypostman/melpa#recipe-format"
  46. )
  47. (defun chicken-dotfiles/init-org-bullet()
  48. (use-package org-bullet
  49. :defer t
  50. :init
  51. (setq org-bullets-bullet-list '("◉" "○" "⬡" "⬢" "■" "□" "◈" "◇"))
  52. )
  53. )
  54. (defun chicken-dotfiles/init-org-mode()
  55. (use-package org-mode
  56. :defer t
  57. :init
  58. (setq org-cycle-level-faces nil)
  59. (setq org-modules
  60. '(org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-mouse org-rmail org-w3m org-drill))
  61. (setq org-todo-keywords '((sequence "TODO" "WAITING" "IN PROGRESS" "|" "DONE" "CANCELLED")))
  62. ; GTD
  63. (setq org-agenda-files '("~/Notes/inbox.org" "~/Notes/gtd.org" "~/Notes/tickler.org"))
  64. (setq org-capture-templates '(("t" "Todo [inbox]" entry
  65. (file+headline "~/Notes/inbox.org" "Tasks")
  66. "* TODO %i%?")
  67. ("T" "Tickler" entry
  68. (file+headline "~/Notes/tickler.org" "Tickler")
  69. "* %i%? \n %U")))
  70. (setq org-directory "~/Notes")
  71. (setq org-default-notes-file "~/Notes/inbox.org" )
  72. (setq org-refile-targets '(("~/Notes/gtd.org" :maxlevel . 3)
  73. ("~/Notes/backlog.org" :level . 1)
  74. ("~/Notes/tickler.org" :maxlevel . 2)))
  75. )
  76. )
  77. ;;; packages.el ends here