emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* C-c C-x M-y for (funcall 'org-paste-subtree '(16))
@ 2025-01-06 17:13 pinmacs
  0 siblings, 0 replies; only message in thread
From: pinmacs @ 2025-01-06 17:13 UTC (permalink / raw)
  To: emacs-orgmode

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))))))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-06 17:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 17:13 C-c C-x M-y for (funcall 'org-paste-subtree '(16)) pinmacs

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).