Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'book/src/command-line.md')
-rw-r--r--book/src/command-line.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/book/src/command-line.md b/book/src/command-line.md
index 2c0723fa..b2eae131 100644
--- a/book/src/command-line.md
+++ b/book/src/command-line.md
@@ -49,6 +49,8 @@ The following variables are supported:
| `line_ending` | A string containing the line ending of the currently focused document. For example on Unix systems this is usually a line-feed character (`\n`) but on Windows systems this may be a carriage-return plus a line-feed (`\r\n`). The line ending kind of the currently focused document can be inspected with the `:line-ending` command. |
| `language` | A string containing the language name of the currently focused document.|
| `selection` | A string containing the contents of the primary selection of the currently focused document. |
+| `selection_line_start` | The line number of the start of the primary selection in the currently focused document, starting at 1. |
+| `selection_line_end` | The line number of the end of the primary selection in the currently focused document, starting at 1. |
Aside from editor variables, the following expansions may be used: