[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 9bec1c5 09/11: magit-{mode-map, dispatch}: Add
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 9bec1c5 09/11: magit-{mode-map, dispatch}: Add bindings for "H", "Q" and "Z" |
Date: |
Fri, 13 Aug 2021 07:57:26 -0400 (EDT) |
branch: elpa/git-commit
commit 9bec1c54ab0705eb68ae4aa6c8a0498999a018f6
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-{mode-map,dispatch}: Add bindings for "H", "Q" and "Z"
---
Documentation/RelNotes/3.3.0.org | 3 +++
lisp/magit-mode.el | 6 ++++--
lisp/magit.el | 6 ++++--
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/Documentation/RelNotes/3.3.0.org b/Documentation/RelNotes/3.3.0.org
index adea68c..9f7b760 100644
--- a/Documentation/RelNotes/3.3.0.org
+++ b/Documentation/RelNotes/3.3.0.org
@@ -23,6 +23,9 @@
and variants for switching to any existing Magit buffer belonging
to the current repository. #4259
+- A few existing commands got a new or better binding in
+ ~magit-dispatch~ and/or ~magit-mode-map~.
+
** Fixes since v3.2.0
- Make ~magit-branch-remote-head~ and ~magit-branch-current~ fall back
diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index 7bb620d..4d8e12b 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -362,6 +362,7 @@ recommended value."
(define-key map "G" 'magit-refresh-all)
(define-key map "h" 'magit-dispatch)
(define-key map "?" 'magit-dispatch)
+ (define-key map "H" 'magit-describe-section)
(define-key map "i" 'magit-gitignore)
(define-key map "I" 'magit-init)
(define-key map "j" 'magit-status-quick)
@@ -376,6 +377,8 @@ recommended value."
(define-key map "O" 'magit-subtree)
(define-key map "P" 'magit-push)
(define-key map "q" 'magit-mode-bury-buffer)
+ (define-key map "Q" 'magit-git-command)
+ (define-key map ":" 'magit-git-command)
(define-key map "r" 'magit-rebase)
(define-key map "R" 'magit-file-rename)
(define-key map "s" 'magit-stage-file)
@@ -393,10 +396,9 @@ recommended value."
(define-key map "y" 'magit-show-refs)
(define-key map "Y" 'magit-cherry)
(define-key map "z" 'magit-stash)
- (define-key map "Z" 'magit-stash)
+ (define-key map "Z" 'magit-worktree)
(define-key map "%" 'magit-worktree)
(define-key map "$" 'magit-process-buffer)
- (define-key map ":" 'magit-git-command)
(define-key map "!" 'magit-run)
(define-key map (kbd "C-c C-c") 'magit-dispatch)
(define-key map (kbd "C-c C-e") 'magit-edit-thing)
diff --git a/lisp/magit.el b/lisp/magit.el
index 33c960d..b613094 100644
--- a/lisp/magit.el
+++ b/lisp/magit.el
@@ -308,6 +308,7 @@ Also see info node `(magit)Commands for Buffers Visiting
Files'."
[("f" "Fetch" magit-fetch)
("F" "Pull" magit-pull)
("h" "Help" magit-help)
+ ("H" "Section info" magit-describe-section :if-derived magit-mode)
("i" "Ignore" magit-gitignore)
("I" "Init" magit-init)
("j" "Jump to section"magit-status-jump :if-mode magit-status-mode)
@@ -320,6 +321,7 @@ Also see info node `(magit)Commands for Buffers Visiting
Files'."
("o" "Submodule" magit-submodule)
("O" "Subtree" magit-subtree)]
[("P" "Push" magit-push)
+ ("Q" "Command" magit-git-command)
("r" "Rebase" magit-rebase)
("t" "Tag" magit-tag)
("T" "Note" magit-notes)
@@ -330,8 +332,8 @@ Also see info node `(magit)Commands for Buffers Visiting
Files'."
[("y" "Show Refs" magit-show-refs)
("Y" "Cherries" magit-cherry)
("z" "Stash" magit-stash)
- ("!" "Run" magit-run)
- ("%" "Worktree" magit-worktree)]]
+ ("Z" "Worktree" magit-worktree)
+ ("!" "Run" magit-run)]]
["Applying changes"
:if-derived magit-mode
[("a" "Apply" magit-apply)
- [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, 2021/08/13
- [nongnu] elpa/git-commit 9bec1c5 09/11: magit-{mode-map, dispatch}: Add bindings for "H", "Q" and "Z",
ELPA Syncer <=
- [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