[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.
- [nongnu] elpa/git-commit updated (0348f1f -> b8e64dc), ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit 413a98f 05/11: Use kbd function more when defining key bindings, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit ae9a3eb 08/11: magit-dispatch: Bind magit-gitignore to "i" like in magit-mode-map, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit 4ee9c9a 01/11: Add several commands for switching to existing Magit buffers, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit 9d7a34e 04/11: Use RET and TAB syntax in key definitions,
ELPA Syncer <=
- [nongnu] elpa/git-commit 9bec1c5 09/11: magit-{mode-map, dispatch}: Add bindings for "H", "Q" and "Z", ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit dbf3897 10/11: magit-dispatch: Refill columns, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit a7ae411 03/11: magit-mode-map: Reindent bindings, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit 5bba626 06/11: magit-help: New command, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit b8e64dc 11/11: Remove stray whitespace, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit b1b5b85 02/11: magit-mode-map: Rearrange bindings, ELPA Syncer, 2021/08/13
- [nongnu] elpa/git-commit b54b537 07/11: magit-mode-map: Bind magit-init to "I" like in magit-dispatch, ELPA Syncer, 2021/08/13