From 323ae998dd49b2e7bf9e4be2a50d0b5c2123c7dd Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 16 Dec 2016 12:04:26 +0100 Subject: [PATCH] bba-copy-org-src-block update - jump to first line of copied src block. Signed-off-by: Andreas Gerler --- bba.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bba.org b/bba.org index eb4b55a2..395c7920 100644 --- a/bba.org +++ b/bba.org @@ -985,6 +985,8 @@ This is helpful in training sessions. (set-mark-command '1) (set-mark-command '1) (yank) + (re-search-backward "\#\\+BEGIN_SRC") + (forward-line) ) (define-key org-mode-map "\C-c\S-w" 'bba-copy-org-src-block) -- 2.47.3