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

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

[nongnu] elpa/git-commit 9d7a34e 04/11: Use RET and TAB syntax in key de


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 9d7a34e 04/11: Use RET and TAB syntax in key definitions
Date: Fri, 13 Aug 2021 07:57:25 -0400 (EDT)

branch: elpa/git-commit
commit 9d7a34ee8e23aba93eb96b9cbe7f36e025369157
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Use RET and TAB syntax in key definitions
---
 lisp/magit-mode.el    | 4 ++--
 lisp/magit-section.el | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index 4b51eb3..26ea42d 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -337,8 +337,8 @@ recommended value."
   (let ((map (make-sparse-keymap)))
     (set-keymap-parent map magit-section-mode-map)
     (define-key map [C-return]    'magit-visit-thing)
-    (define-key map (kbd "C-m")   'magit-visit-thing)
-    (define-key map (kbd "C-M-i") 'magit-dired-jump)
+    (define-key map (kbd   "RET") 'magit-visit-thing)
+    (define-key map (kbd "M-TAB") 'magit-dired-jump)
     (define-key map [M-tab]       'magit-section-cycle-diffs)
     (define-key map (kbd   "SPC") 'magit-diff-show-or-scroll-up)
     (define-key map (kbd "S-SPC") 'magit-diff-show-or-scroll-down)
diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 66da1e5..428e30b 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -318,7 +318,7 @@ but that ship has sailed, thus this option."
 (defvar magit-section-mode-map
   (let ((map (make-keymap)))
     (suppress-keymap map t)
-    (define-key map (kbd "C-i") 'magit-section-toggle)
+    (define-key map (kbd "TAB") 'magit-section-toggle)
     (define-key map [C-tab]     'magit-section-cycle)
     (define-key map [M-tab]     'magit-section-cycle)
     ;; [backtab] is the most portable binding for Shift+Tab.



reply via email to

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