From 60105c677976a0273ef56c9a382da2cfc25191c8 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 8 Jul 2013 12:06:54 +0200 Subject: [PATCH] Docs: simplify sign explanation --- README.md | 17 +++++++---------- doc/signify.txt | 17 +++++++---------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 98573a2..0491109 100644 --- a/README.md +++ b/README.md @@ -66,24 +66,21 @@ Sign explanation `+` -A new line was added. The sign is shown on the same line as the new line. +New line. `_1` -A line was deleted. The sign is shown on the line above the deleted line. The -second character indicates the number of deleted lines: 1-9, and # for -everything above. +Amount of deleted lines. If the number is larger than 9, a `>` will be shown +instead. `!` -A line was changed. Something was changed, but the amount of lines stayed the -same. The sign is shown on the same line. +Changed line. -`!_` - -A line was changed and one or more of the lines below were deleted. A -combination of **!** and **_**. The sign is shown on the same line. +`!1` +A line was changed and an amount of lines below were deleted. A combination of +`!` and `_`. If the number is larger than 9, a `>` will be shown instead. `‾` diff --git a/doc/signify.txt b/doc/signify.txt index ee7805f..aa7418b 100644 --- a/doc/signify.txt +++ b/doc/signify.txt @@ -60,23 +60,21 @@ Sign explanation: + -A new line was added. The sign is shown on the same line as the new line. +New line. _1 -A line was deleted. The sign is shown on the line above the deleted line. The -second character indicates the number of deleted lines: 1-9, and # for -everything above. +Amount of deleted lines. If the number is larger than 9, a > will be shown +instead. ! -A line was changed. Something was changed, but the amount of lines stayed the -same. The sign is shown on the same line. +Changed line. - !_ + !1 -A line was changed and one or more of the lines below were deleted. A -combination of ! and _. The sign is shown on the same line. +A line was changed and an amount of lines below were deleted. A combination of +! and _. If the number is larger than 9, a > will be shown instead. ‾ @@ -170,7 +168,6 @@ Enable line highlighting in addition to using signs by default. let g:signify_sign_add = '+' let g:signify_sign_change = '!' - let g:signify_sign_change_delete = '!_' let g:signify_sign_delete = '_' let g:signify_sign_delete_first_line = '‾'