Move with n and p, like God intended.
* magit.el (magit-mode-map): Put magit-next-section and magit-previous-section on 'n' and 'p', respectively. Put magit-display-process on '$'.
This commit is contained in:
parent
a72d0ceec1
commit
5e6ac7730e
2 changed files with 4 additions and 4 deletions
6
magit.el
6
magit.el
|
@ -327,8 +327,8 @@
|
|||
(defvar magit-mode-map
|
||||
(let ((map (make-keymap)))
|
||||
(suppress-keymap map t)
|
||||
(define-key map (kbd "M-n") 'magit-next-section)
|
||||
(define-key map (kbd "M-p") 'magit-previous-section)
|
||||
(define-key map (kbd "n") 'magit-next-section)
|
||||
(define-key map (kbd "p") 'magit-previous-section)
|
||||
(define-key map (kbd "1") 'magit-jump-to-untracked)
|
||||
(define-key map (kbd "2") 'magit-jump-to-unstaged)
|
||||
(define-key map (kbd "3") 'magit-jump-to-staged)
|
||||
|
@ -359,7 +359,7 @@
|
|||
(define-key map (kbd "P") 'magit-push)
|
||||
(define-key map (kbd "c") 'magit-log-edit)
|
||||
(define-key map (kbd "C") 'magit-add-log)
|
||||
(define-key map (kbd "p") 'magit-display-process)
|
||||
(define-key map (kbd "$") 'magit-display-process)
|
||||
map))
|
||||
|
||||
(defvar magit-mode-hook nil)
|
||||
|
|
|
@ -277,7 +277,7 @@ Such a rebase can be finished with @kbd{R} as well.
|
|||
|
||||
Magit will run @code{git pull} when you type @kbd{U} in the status
|
||||
buffer, and it will run @code{git push} when you type @kbd{P}. You
|
||||
can type @kbd{p} to pop up a buffer with the transcript of running
|
||||
can type @kbd{$} to pop up a buffer with the transcript of running
|
||||
these commands.
|
||||
|
||||
That's almost all the support for remote repositories that Magit
|
||||
|
|
Loading…
Reference in a new issue