summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus <rasmus@gmx.us>2018-04-07 20:16:56 +0200
committerRasmus <rasmus@gmx.us>2018-04-08 12:47:12 +0200
commit39837b4b31413831c89ab98ae7ac5d52e21dd681 (patch)
tree4e65cf9fd1bf49237bde136f306ff4ac04b535a0
parentd04c20deece7b1d0eb40f7b8365a87484f26db6a (diff)
downloadorg-mode-39837b4b31413831c89ab98ae7ac5d52e21dd681.tar.gz
org: Change org-insert-structure-template to C-c C-,
* lisp/org.el (org-mode-map): * doc/org-manual.org (With): Change keybinding of org-insert-structure-template. See the thread titled "Poll: new keybinding for org-insert-structure-template?" in December 2017 for details.
-rw-r--r--doc/org-manual.org2
-rw-r--r--lisp/org.el3
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 8263944..fc53957 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -18170,7 +18170,7 @@ With just a few keystrokes, it is possible to insert empty structural
blocks, such as =#+BEGIN_SRC= ... =#+END_SRC=, or to wrap existing
text in such a block.
-- {{{kbd(C-c C-x w)}}} (~org-insert-structure-template~) ::
+- {{{kbd(C-c C-,)}}} (~org-insert-structure-template~) ::
Prompt for a type of block structure, and insert the block at
point. If the region is active, it is wrapped in the block.
diff --git a/lisp/org.el b/lisp/org.el
index 4fd5dce..010a59b 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -19157,8 +19157,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
(org-defkey org-mode-map (kbd "C-c C-x E") #'org-inc-effort)
(org-defkey org-mode-map (kbd "C-c C-x o") #'org-toggle-ordered-property)
(org-defkey org-mode-map (kbd "C-c C-x i") #'org-columns-insert-dblock)
-(org-defkey org-mode-map (kbd "C-c C-x w") #'org-insert-structure-template)
-
+(org-defkey org-mode-map (kbd "C-c C-,") #'org-insert-structure-template)
(org-defkey org-mode-map (kbd "C-c C-x .") #'org-timer)
(org-defkey org-mode-map (kbd "C-c C-x -") #'org-timer-item)
(org-defkey org-mode-map (kbd "C-c C-x 0") #'org-timer-start)