diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-01-26 14:40:45 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-01-26 14:41:04 +0100 |
commit | b9feb0bba61c857f487966d03b1758ccb51897e5 (patch) | |
tree | 319adf33c347536447cb59471ad26ce951dbad28 /lisp | |
parent | 5683530e98a45dcc3163b4ddea038868efdb466a (diff) |
Use :bind to bind C-c c
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-org.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el index df935ec..f4d1634 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -5,7 +5,8 @@ (use-package org :ensure nil ;; package is bundled with emacs - :bind (("C-c a" . org-agenda) + :bind (("C-c c" . org-capture) + ("C-c a" . org-agenda) ("C-c y" . org-archive-subtree-and-set-startup-visibility) ("C-c l" . org-store-link)) :config @@ -47,9 +48,6 @@ (setq org-todo-keywords '((sequence "TODO" "WAIT" "DONE"))) ;; disallow invisible edits - (setq org-catch-invisible-edits 'error) - - ;; C-c captures tasks - (global-set-key (kbd "C-c c") 'org-capture)) + (setq org-catch-invisible-edits 'error)) (provide 'init-org) |