Skip to content

Commit

Permalink
Configured note capture in org-mode ("C-c c" anytime, anywhere).
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidel Ramos committed Mar 3, 2011
1 parent abcca29 commit 710f9d9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
10 changes: 8 additions & 2 deletions TIPS
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,14 @@ Org-mode
* ``C-c C-s``: Schedule task under the cursor
* ``C-c C-o``: Open link under the cursor
* ``S-Tab``: Toggle headings folding

For anniversaries and birthdays to appear in agenda mode create and org
* ``C-c C-x C-i``: Start clock on a task
* ``C-c C-x C-o``: Stop clock and compute total time
* ``C-c c``: Anytime, go to a special note taking org buffer.
* ``C-c C-c``: In note capture mode, save changes and return.
* ``C-c C-k``: In note capture mode, ignore changes and return.
* ``C-c C-w``: In note capture mode, refile the entry and return.

For anniversaries and birthdays to appear in agenda mode create an org
file with one birthday per line in these formats::

%%(diary-anniversary month day) XYZ's birthday
Expand Down
4 changes: 4 additions & 0 deletions dot-emacs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(global-set-key "\C-cc" 'org-capture)
(setq org-disputed-keys (quote (([(shift up)] . [(meta shift up)])
([(shift down)] . [(meta shift down)])
([(shift left)] . [(meta shift left)])
Expand All @@ -200,6 +201,9 @@
([(control shift left)] . [(control meta shift left)])))
org-replace-disputed-keys t)

(setq org-directory "~/Docs/Org")
(setq org-default-notes-file (concat org-directory "/notes.org"))

;; Make TAB the yas trigger key in the org-mode-hook
(add-hook 'org-mode-hook
(lambda ()
Expand Down
8 changes: 4 additions & 4 deletions user-preferences.el
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(setq user-mail-address "fidelramos@gmail.com")
(setq user-full-name "Fidel Ramos Sañudo")

(setq org-agenda-files (list "~/Docs/Org/personal.org"
"~/Docs/Org/work.org"
"~/Docs/Org/projects.org"
"~/Docs/Org/anniversaries.org"))
(setq org-agenda-files (list (concat org-directory "/personal.org")
(concat org-directory "/work.org")
(concat org-directory "/projects.org")
(concat org-directory "/anniversaries.org")))

(eval-after-load "color-theme"
'(progn
Expand Down

0 comments on commit 710f9d9

Please sign in to comment.