From 91aec830045ffe972a4d6d37de441e0352056bdf Mon Sep 17 00:00:00 2001 From: Richard Lam <54393902+richlamdev@users.noreply.github.com> Date: Thu, 13 Oct 2022 20:28:17 -0700 Subject: [PATCH 1/2] add a information in Ranges section regarding 0 identifier --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7362e1d..04f68bf 100644 --- a/README.md +++ b/README.md @@ -559,6 +559,7 @@ as short form of `:delete`): |---------|----------------| | `:d` | Current line. | | `:.d` | Current line. | +| `:0d` | Special "virtual" line _before_ the first line in the buffer. (*some commands, like :move or :copy will interpret it as "before the first line", while others like :delete or :substitute will treat it as the first line) | | `:1d` | First line. | | `:$d` | Last line. | | `:1,$d` | All lines. | From 6c7d5354f801995cbd57bedecc489a767f1a7ba9 Mon Sep 17 00:00:00 2001 From: Richard Lam <54393902+richlamdev@users.noreply.github.com> Date: Thu, 13 Oct 2022 20:38:13 -0700 Subject: [PATCH 2/2] remove erroneous asterix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04f68bf..b847e4a 100644 --- a/README.md +++ b/README.md @@ -559,7 +559,7 @@ as short form of `:delete`): |---------|----------------| | `:d` | Current line. | | `:.d` | Current line. | -| `:0d` | Special "virtual" line _before_ the first line in the buffer. (*some commands, like :move or :copy will interpret it as "before the first line", while others like :delete or :substitute will treat it as the first line) | +| `:0d` | Special "virtual" line _before_ the first line in the buffer. (some commands, like :move or :copy will interpret it as "before the first line", while others like :delete or :substitute will treat it as the first line) | | `:1d` | First line. | | `:$d` | Last line. | | `:1,$d` | All lines. |