From: pinmacs <pinmacs@cas.cat>
To: emacs-orgmode@gnu.org
Subject: C-c C-x M-y for (funcall 'org-paste-subtree '(16))
Date: Mon, 6 Jan 2025 18:13:35 +0100 [thread overview]
Message-ID: <d0a00985-4214-452b-b484-f6128ec5c633@cas.cat> (raw)
Days ago I discovered that exists org-paste-subtree, but the
functionality that I like is when you pass it C-u two times
I discovered that this shortcut is available, and sometimes I want to
paste subtrees in the same level as the previous (C-c C-x C-y), and
sometimes I want to inject them as subtree
I feel this shortcut is nice for that, and I want to share if you
consider to add it to default orgmode, that keybinding is available
(add-hook 'org-mode-hook
(lambda ()
(local-set-key (kbd "C-c C-x M-y") (lambda () (interactive)
(funcall 'org-paste-subtree '(16))))))
reply other threads:[~2025-01-06 17:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d0a00985-4214-452b-b484-f6128ec5c633@cas.cat \
--to=pinmacs@cas.cat \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).