From d38c05a5acff8664800e912ee6c72474f1b26473 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Feb 2009 04:15:45 -0400 Subject: [PATCH] M-h and M-H now hides the whole current file/buffer, and M-s/S shows it. --- magit.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/magit.el b/magit.el index e65ef833..82c81d81 100644 --- a/magit.el +++ b/magit.el @@ -996,6 +996,10 @@ Many Magit faces inherit from this one by default." (define-key map (kbd "M-2") 'magit-show-level-2-all) (define-key map (kbd "M-3") 'magit-show-level-3-all) (define-key map (kbd "M-4") 'magit-show-level-4-all) + (define-key map (kbd "M-h") 'magit-show-level-2) + (define-key map (kbd "M-H") 'magit-show-level-2-all) + (define-key map (kbd "M-s") 'magit-show-level-4) + (define-key map (kbd "M-S") 'magit-show-level-4-all) (define-key map (kbd "g") 'magit-refresh) (define-key map (kbd "G") 'magit-refresh-all) (define-key map (kbd "s") 'magit-stage-item)