about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.el b/init.el index 88102be..8bbfe16 100644 --- a/init.el +++ b/init.el
@@ -580,6 +580,25 @@
580 (+org-capture-templates-setf "l" 580 (+org-capture-templates-setf "l"
581 `("Link" entry (file "links.org") 581 `("Link" entry (file "links.org")
582 "* %(+org-insert-link-dwim) %^g\n\n")) 582 "* %(+org-insert-link-dwim) %^g\n\n"))
583 (+org-capture-templates-setf "w" "Work")
584 (+org-capture-templates-setf "j"
585 '("Journal entry" plain
586 (file+olp+datetree "journal.org")
587 "**** %i%?\n"
588 :time-prompt n
589 :unnarrowed t))
590 ;; TODO: Prompt for identity file from ~/.ssh and try to guess the hostname
591 ;; from there.
592 (+org-capture-templates-setf "s"
593 `("SSH Config" plain (file "~/.ssh/config")
594 ,(concat "\n\nHost %^{Host: }"
595 "\nHostname %\\1"
596 "\nUser %^{User:|" (user-login-name) "}"
597 "\nIdentityFile %?"
598 "\nIdentitiesOnly yes"
599 "\nPubkeyAuthentication yes"
600 "\nPort %^{Port: |22}")
601 :unnarrowed t))
583 (+org-capture-sort)) 602 (+org-capture-sort))
584 603
585(setup org-contacts 604(setup org-contacts