emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 5bc5add326 3/3: lisp/org-keys.el: Provide terminal


From: ELPA Syncer
Subject: [elpa] externals/org 5bc5add326 3/3: lisp/org-keys.el: Provide terminal binding for `org-insert-structure-template'
Date: Thu, 29 Dec 2022 09:57:53 -0500 (EST)

branch: externals/org
commit 5bc5add3262c1d0aea8f42f6cb57aab2010694cd
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/org-keys.el: Provide terminal binding for 
`org-insert-structure-template'
    
    * lisp/org-keys.el (or): Add alternative terminal binding for
    `org-insert-structure-template'.  The default binding may not be
    available in some terminals.
    
    * doc/org-manual.org (Using Org on a TTY): List the new binding in the
    manual.
    
    Reported-by: Anthony Carrico <acarrico@memebeam.org>
    Link: 
https://orgmode.org/list/d9222967-5747-bf54-8041-4a8453fe81fc@memebeam.org
---
 doc/org-manual.org | 1 +
 lisp/org-keys.el   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 640ba8c9d0..04dcec15da 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -20496,6 +20496,7 @@ further based on their usage needs.  For example, the 
normal
 | {{{kbd(S-DOWN)}}}    | {{{kbd(C-c DOWN)}}}      |              |             
         |
 | {{{kbd(C-S-LEFT)}}}  | {{{kbd(C-c C-x LEFT)}}}  |              |             
         |
 | {{{kbd(C-S-RIGHT)}}} | {{{kbd(C-c C-x RIGHT)}}} |              |             
         |
+| {{{kbd(C-c C-\,)}}}  | {{{kbd(C-c C-x s)}}}     |              |             
         |
 
 ** Protocols for External Access
 :PROPERTIES:
diff --git a/lisp/org-keys.el b/lisp/org-keys.el
index 95f64a3f9e..7c6e38e645 100644
--- a/lisp/org-keys.el
+++ b/lisp/org-keys.el
@@ -503,6 +503,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command 
names."
   (org-defkey org-mode-map (kbd "C-c C-x c") #'org-table-copy-down)
   (org-defkey org-mode-map (kbd "C-c C-x m") #'org-meta-return)
   (org-defkey org-mode-map (kbd "C-c C-x M") #'org-insert-todo-heading)
+  (org-defkey org-mode-map (kbd "C-c C-x s") #'org-insert-structure-template)
   (org-defkey org-mode-map (kbd "C-c C-x RET") #'org-meta-return)
   (org-defkey org-mode-map (kbd "ESC RET") #'org-meta-return)
   (org-defkey org-mode-map (kbd "ESC <left>") #'org-metaleft)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]