From b9feb0bba61c857f487966d03b1758ccb51897e5 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Sun, 26 Jan 2020 14:40:45 +0100 Subject: Use :bind to bind C-c c --- lisp/init-org.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lisp/init-org.el') 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) -- cgit v1.2.3