mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
Emacs : Google Calendar (org capture)
This commit is contained in:
@ -231,6 +231,7 @@ https://nathantypanski.com/blog/2014-08-03-a-vim-like-emacs-config.html
|
||||
(tool-bar-mode -1) ; Disable the toolbar
|
||||
(tooltip-mode -1) ; Disable tooltips
|
||||
(set-fringe-mode 10) ; Give some breathing room
|
||||
(xterm-mouse-mode)
|
||||
|
||||
(menu-bar-mode -1) ; Disable the menu bar
|
||||
;;(setq visible-bell t)
|
||||
@ -1283,6 +1284,26 @@ https://emacs.stackexchange.com/a/30691
|
||||
org-gcal-file-alist '(("cpu3792@gmail.com" . "~/Roam/gcal.org"))))
|
||||
(add-hook 'org-agenda-mode-hook (lambda () (org-gcal-sync) ))
|
||||
(add-hook 'org-capture-after-finalize-hook (lambda () (org-gcal-sync) ))
|
||||
(add-to-list 'org-agenda-files "~/Roam/Agenda/gcal.org")
|
||||
;;(add-to-list 'org-agenda-files "~/Roam/Agenda/links.org")
|
||||
;;(add-to-list 'org-agenda-files "~/Roam/Agenda/i.org")
|
||||
|
||||
|
||||
(setq org-capture-templates
|
||||
'(("a" "Appointment" entry (file "~/Roam/Agenda/gcal.org" )
|
||||
"* %?\n\n%^T\n\n:PROPERTIES:\n\n:END:\n\n")
|
||||
("l" "Link" entry (file+headline "~/Roam/Agenda/links.org" "Links")
|
||||
"* %? %^L %^g \n%T" :prepend t)
|
||||
("b" "Blog idea" entry (file+headline "~/Roam/Agenda/i.org" "Blog Topics:")
|
||||
"* %?\n%T" :prepend t)
|
||||
("t" "To Do Item" entry (file+headline "~/Roam/Agenda/i.org" "To Do")
|
||||
"* TODO %?\n%u" :prepend t)
|
||||
("n" "Note" entry (file+headline "~/Roam/Agenda/i.org" "Note space")
|
||||
"* %?\n%u" :prepend t)
|
||||
("j" "Journal" entry (file+datetree "~/Roam/Agenda/journal.org")
|
||||
"* %?\nEntered on %U\n %i\n %a")
|
||||
("s" "Screencast" entry (file "~/Roam/Agenda/screencastnotes.org")
|
||||
"* %?\n%i\n")))
|
||||
#+end_src
|
||||
|
||||
* EDiff
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
###################################################################
|
||||
Host ju-server
|
||||
User jaeus
|
||||
User root
|
||||
# NOTE : Do not commit for security
|
||||
Hostname 192.168.0.125
|
||||
Port 13792
|
||||
|
||||
Reference in New Issue
Block a user