* 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.