diff --git a/README.md b/README.md index 62d5d177b226039148d4bf6e689b5da51c6b1064..703b78f7da3b3c1655dc8f231cf89349b39ec4f4 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,9 @@ Following mappings are set locally, for magit buffer only, in normal mode. ##### CF * Amend the staged changes into the previous commit, without modifying previous commit message. +##### CU + * Close a commit section (If you need soon after open or editing commit message, pressing 'u' is good enough). + ##### I * Add the file under the cursor in .gitgnore diff --git a/doc/vimagit.txt b/doc/vimagit.txt index 144e49e42f1c6212a0a31e2b635f4e9c319ed622..94115a6f4007e4237ca25c382fe9954943851785 100644 --- a/doc/vimagit.txt +++ b/doc/vimagit.txt @@ -236,6 +236,11 @@ Following mappings are set locally, for magit buffer only, in normal mode. CF Amend the staged changes into the previous commit, without modifying previous commit message + *vimagit-CU* *magit#close_commit()* + *vimagit-g:magit_close_commit_mapping* + CU Close a commit section (If you need soon after open or editing + Ucommit message, pressing 'u' is good enough). + *vimagit-I* *magit#ignore_file()* *vimagit-g:magit_ignore_mapping* I Add the file under the cursor in .gitgnore