diff options
-rw-r--r-- | config/init-notes.el | 16 | ||||
-rw-r--r-- | config/init-ui.el | 4 | ||||
-rw-r--r-- | early-init.el | 2 |
3 files changed, 14 insertions, 8 deletions
diff --git a/config/init-notes.el b/config/init-notes.el index 0cdf5c6..dc3d9af 100644 --- a/config/init-notes.el +++ b/config/init-notes.el @@ -39,6 +39,9 @@ (org-log-done 'time) (org-log-into-drawer t) + ;; no empty lines between items + (org-blank-before-new-entry '((heading . nil) (plain-list-item . nil))) + ;; org-refile options ;;; the tag 'rt' means 'refile target'. I don't want this tag to be inherited, I set it explicitly. (org-tags-exclude-from-inheritance '(rt)) @@ -80,12 +83,14 @@ ("C-c c" . org-capture) :config (setq org-capture-templates - `(("n" "Note" entry (file "notes.org") - "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :empty-lines 1) + `(("n" "Note" entry (file+headline "notes.org" "references") + "* %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t) ("j" "Journal" entry (file+olp+datetree "notes.org" "journal") - "* %U %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :empty-lines 1 :tree-type month) + "* %U %?\n:PROPERTIES:\n:CREATED: %T\n:END:\n" :prepend t :tree-type month) + ("l" "Web link" entry (file+headline "notes.org" "links") + "* TODO %?%a:\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t :immediate-finish t) ("t" "Tasks" entry (file "inbox.org") - "* TODO %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t :empty-lines 1)))) + "* TODO %?\n:PROPERTIES:\n:CREATED: %U\n:END:\n" :prepend t)))) (use-package org-agenda :ensure nil @@ -115,6 +120,9 @@ (advice-add 'org-babel-edit-prep:emacs-lisp :after #'(lambda (_info) (run-hooks 'emacs-lisp-mode-hook)))) +(use-package git-auto-commit-mode + :ensure t) + (provide 'init-notes) ;;; init-notes.el ends here diff --git a/config/init-ui.el b/config/init-ui.el index 8f7697a..b9f3fbd 100644 --- a/config/init-ui.el +++ b/config/init-ui.el @@ -53,8 +53,8 @@ ;; | 数字 | アルファベット | 日本語 | 絵文字 | ;; | 0123 | abcdefghijklmn | あいう | 🍎🍎🍎 | -(set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 170) -(set-face-attribute 'variable-pitch nil :family "DejaVu Sans" :height 160) +(set-face-attribute 'default nil :family "Source Code Pro" :height 150) +(set-face-attribute 'variable-pitch nil :family "Go" :height 150) (provide 'init-ui) ;;; init-ui.el ends here diff --git a/early-init.el b/early-init.el index fc55354..4568e74 100644 --- a/early-init.el +++ b/early-init.el @@ -21,8 +21,6 @@ ;; increase font size (set-face-attribute 'default nil :height 130) -(invert-face 'default) - (setq init-file-debug t) (setq debug-on-error init-file-debug) |