[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 5bba626 06/11: magit-help: New command
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 5bba626 06/11: magit-help: New command |
Date: |
Fri, 13 Aug 2021 07:57:25 -0400 (EDT) |
branch: elpa/git-commit
commit 5bba6262933a0bfc54dec0d36a3d4e93e26204df
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-help: New command
---
lisp/magit-mode.el | 5 +++++
lisp/magit.el | 1 +
2 files changed, 6 insertions(+)
diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index 26ea42d..2a042d1 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -443,6 +443,11 @@ which visits the thing at point using `browse-url'."
(interactive)
(user-error "There is no thing at point that could be browsed"))
+(defun magit-help ()
+ "Visit the Magit manual."
+ (interactive)
+ (info "magit"))
+
(defvar bug-reference-map)
(with-eval-after-load 'bug-reference
(define-key bug-reference-map [remap magit-visit-thing]
diff --git a/lisp/magit.el b/lisp/magit.el
index 50e196b..04fe7c0 100644
--- a/lisp/magit.el
+++ b/lisp/magit.el
@@ -307,6 +307,7 @@ Also see info node `(magit)Commands for Buffers Visiting
Files'."
("E" "Ediff" magit-ediff)]
[("f" "Fetch" magit-fetch)
("F" "Pull" magit-pull)
+ ("h" "Help" magit-help)
("I" "Init" magit-init)
("j" "Jump to section"magit-status-jump :if-mode magit-status-mode)
("j" "Display status" magit-status-quick :if-not-mode magit-status-mode)
- [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, 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 <=
- [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