dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit 5d6c249bf9b520d7731fa34f9288ab3a1b7228d4
parent 8b099a9033dc3f26c1fbe6636c0903eb6a19867e
Author: rsiddharth <s@ricketyspace.net>
Date:   Thu, 23 May 2019 18:26:10 -0400

.emacs.d/init.el: Re-arrange packages.

Diffstat:
.emacs.d/init.el | 97++++++++++++++++++++++++++++++++++++++++---------------------------------------
1 file changed, 49 insertions(+), 48 deletions(-)

diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -21,30 +21,6 @@ (unless (server-running-p) (server-start))) -;; org -(use-package org - :mode ("\\.org\\'" . org-mode) - :config - (setq org-directory "~/v/lyra.ricketyspace.net/org") - (setq org-agenda-files (concat org-directory "/agenda.org")) - (setq org-default-notes-file (concat org-directory "/scratch.org")) - (setq org-archive-location (concat org-directory "/archive.org::* %s")) - (setq org-capture-templates - '(("r" "rtask" entry - (file+headline "~/v/lyra.ricketyspace.net/org/todo.org" "rtasks") - "* TODO %?\n DEADLINE: %^T") - ("o" "otask" entry - (file+headline "~/v/lyra.ricketyspace.net/org/todo.org" "otasks") - "* TODO %?\n DEADLINE: %^T") - ("c" "calendar" entry - (file+headline "~/v/lyra.ricketyspace.net/org/todo.org" "calendar") - "* %?\n %^T"))) - (setq org-log-done 'time) - :bind (("C-c l" . org-store-link) - ("C-c a" . org-agenda) - ("C-c b" . org-iswitchb) - ("C-c c" . org-capture))) - ;; bookmarks (use-package bookmark :config @@ -53,18 +29,6 @@ ;; markdown (use-package markdown-mode :ensure t) -;; web-mode -(use-package web-mode - :ensure t - :mode ("\\.tpl\\|\\.php\\'" "\\.html?\\'" "\\.js\\|.css'") - :config - (setq web-mode-enable-auto-indentation nil) - (defun rsd/web-mode/enable-tabs () - "Enable tabs on indent. Fuck it." - (interactive) - (setq-local indent-tabs-mode t) - (web-mode-use-tabs))) - ;; magit (use-package magit :ensure t @@ -77,18 +41,6 @@ ;; geiser (use-package geiser :ensure t) -;; geiser-guile -(use-package geiser-guile - :init - (setq-default guile-load-paths '("~/v/git.ricketyspace.net/sicp" - "~/v/git.ricketyspace.net/taocp/guile" - "~/v/git.ricketyspace.net/git-difme")) - :config - (setq geiser-active-implementations '(guile)) - (setq geiser-mode-smart-tab-p t) - (setq geiser-guile-binary "guile2.2") - (mapc (lambda (path) (add-to-list 'geiser-guile-load-path path)) - guile-load-paths)) ;; paredit (use-package paredit @@ -128,6 +80,55 @@ ;; ledger (use-package ledger-mode :ensure t) +;; geiser-guile +(use-package geiser-guile + :init + (setq-default guile-load-paths '("~/v/git.ricketyspace.net/sicp" + "~/v/git.ricketyspace.net/taocp/guile" + "~/v/git.ricketyspace.net/git-difme")) + :config + (setq geiser-active-implementations '(guile)) + (setq geiser-mode-smart-tab-p t) + (setq geiser-guile-binary "guile2.2") + (mapc (lambda (path) (add-to-list 'geiser-guile-load-path path)) + guile-load-paths)) + +;; org +(use-package org + :mode ("\\.org\\'" . org-mode) + :config + (setq org-directory "~/v/lyra.ricketyspace.net/org") + (setq org-agenda-files (concat org-directory "/agenda.org")) + (setq org-default-notes-file (concat org-directory "/scratch.org")) + (setq org-archive-location (concat org-directory "/archive.org::* %s")) + (setq org-capture-templates + '(("r" "rtask" entry + (file+headline "~/v/lyra.ricketyspace.net/org/todo.org" "rtasks") + "* TODO %?\n DEADLINE: %^T") + ("o" "otask" entry + (file+headline "~/v/lyra.ricketyspace.net/org/todo.org" "otasks") + "* TODO %?\n DEADLINE: %^T") + ("c" "calendar" entry + (file+headline "~/v/lyra.ricketyspace.net/org/todo.org" "calendar") + "* %?\n %^T"))) + (setq org-log-done 'time) + :bind (("C-c l" . org-store-link) + ("C-c a" . org-agenda) + ("C-c b" . org-iswitchb) + ("C-c c" . org-capture))) + +;; web-mode +(use-package web-mode + :ensure t + :mode ("\\.tpl\\|\\.php\\'" "\\.html?\\'" "\\.js\\|.css'") + :config + (setq web-mode-enable-auto-indentation nil) + (defun rsd/web-mode/enable-tabs () + "Enable tabs on indent. Fuck it." + (interactive) + (setq-local indent-tabs-mode t) + (web-mode-use-tabs))) + ;;; gpg (require 'subr-x)