summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org10
1 files changed, 7 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 34f24c42..c6a59340 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1700,9 +1700,7 @@ Org is wünderbar.
 (use-package org
   :bind (("C-c C-a" . org-agenda-list)
          ("C-c a" . org-agenda)
-         ("C-c l" . org-store-link)
-         :map org-src-mode-map
-         ("C-x C-s" . org-edit-src-exit))
+         ("C-c l" . org-store-link))
   :defer 8
   :init (setq org-replace-disputed-keys t
               org-ellipsis "…")
@@ -1746,6 +1744,12 @@ Org is wünderbar.
             (set-register ?o `(file . ,(expand-file-name "organiser.org" org-directory)))
             (add-hook 'org-mode-hook #'turn-on-auto-fill)
             (org-load-modules-maybe t)))
+
+(use-package org-src
+  :ensure nil
+  :after org
+  :config (progn
+            (bind-key "C-x C-s" #'org-edit-src-exit org-src-mode-map)))
 #+END_SRC
 
 **** org-babel