From ffd54688c632316e05952541ed730ea8569793ce Mon Sep 17 00:00:00 2001
From: Florent Bouchez Tichadou <florent.bouchez-tichadou@imag.fr>
Date: Wed, 27 Mar 2024 14:42:21 +0100
Subject: [PATCH] Clarified documentation on some bindings.

---
 doc/vimagit.txt | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/doc/vimagit.txt b/doc/vimagit.txt
index aeaa4a0..cb2fbfb 100644
--- a/doc/vimagit.txt
+++ b/doc/vimagit.txt
@@ -168,9 +168,9 @@ MAPPINGS                                                      *vimagit-mappings*
 For each mapping, user can redefine the behavior with its own mapping. Each
 variable is described below as           *vimagit-g:magit_nameofmapping_mapping*
 
-For example, to redefine the <leader>M mapping, user should add this line in
-its |vimrc|:
-let g:magit_show_magit_mapping='m'
+For example, to redefine the <leader>M mapping to <leader>g, add this line in 
+your |vimrc|:
+let g:magit_show_magit_mapping='<leader>g'
 
 Mapping update                                          *vimagit-mapping-update*
 --------------
@@ -179,6 +179,10 @@ Since vimagit 1.7, jump mappings have changed:
    Jump next hunk : N -> <C-n>
    Jump prev hunk : P -> <C-p>
 
+(Previous behaviour can be restored by redefining the following variables:
+let g:magit_jump_next_hunk='N'
+let g:magit_jump_prev_hunk='P')
+
 Global mappings
 ---------------
 Following mappings are broadly set, and are applied in all vim buffers.
-- 
GitLab