diff options
author | Alan Pearce | 2017-06-04 15:52:23 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-04 15:52:40 +0200 |
commit | 6eaab8ee32bae08831da5040d1f0bf13e815ce65 (patch) | |
tree | 1cc72bb1818381357efb44c4c5debfd1b21b00c2 /emacs | |
parent | 8eeadd7d1930abb31a330f14f2735a10584998da (diff) | |
download | nixfiles-6eaab8ee32bae08831da5040d1f0bf13e815ce65.tar.lz nixfiles-6eaab8ee32bae08831da5040d1f0bf13e815ce65.tar.zst nixfiles-6eaab8ee32bae08831da5040d1f0bf13e815ce65.zip |
Emacs: Fix org-src keymap init
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 10 |
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 |