summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien <bzg@gnu.org>2018-04-28 12:57:15 +0200
committerBastien <bzg@gnu.org>2018-04-28 12:57:15 +0200
commit4c14e0d1f2269a735e4bc93284ac2143a13c28a3 (patch)
tree29a04d983d3b74fea50ee2754d381085c824e629
parent5c8cb1e7332a9fd8ba71cd0a5fe7bdf5d19d09fd (diff)
downloadorg-mode-4c14e0d1f2269a735e4bc93284ac2143a13c28a3.tar.gz
org.el: New speed command "k" to kill the subtree at point
* lisp/org.el (org-speed-commands-default): Add "k" to kill the subtree at point.
-rw-r--r--etc/ORG-NEWS1
-rw-r--r--lisp/org.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 776441d..ef1a255 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -387,6 +387,7 @@ Set option ~org-src-window-setup~ to ~split-window-below~.
When sorting alphabetically, ~org-sort-entries~ and
~org-tags-sort-function~ now sort according to the locale’s collation
rules instead of by code-point.
+*** New speed command "k" to kill (cut) the subtree at point
* Version 9.1
** Incompatible changes
diff --git a/lisp/org.el b/lisp/org.el
index f43fd0d..97af4bb 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -19095,6 +19095,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
("C" . org-shifttab)
(" " . org-display-outline-path)
("s" . org-narrow-to-subtree)
+ ("k" . org-cut-subtree)
("=" . org-columns)
("Outline Structure Editing")
("U" . org-metaup)