diff options
author | Kirawi | 2022-04-23 08:01:08 +0000 |
---|---|---|
committer | GitHub | 2022-04-23 08:01:08 +0000 |
commit | dd5a7c6191314b22347c323e8cda8aff225e21ba (patch) | |
tree | c9bb05eb7a15581a50d17b0ed930a5505784fd35 /book/src | |
parent | 5c2570582bdacf7acebf1bf4cab90699b98ecc67 (diff) |
Replace line endings using `set_line_ending` command (#1871)
* set_line_ending: now replace line endings
* use ending.len_chars() directly
* account for unicode-lines feaure in line-ending doc
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/generated/typable-cmd.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index 0b591ba4..33f3b839 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -16,7 +16,7 @@ | `:new`, `:n` | Create a new scratch buffer. | | `:format`, `:fmt` | Format the file using the LSP formatter. | | `:indent-style` | Set the indentation style for editing. ('t' for tabs or 1-8 for number of spaces.) | -| `:line-ending` | Set the document's default line ending. Options: crlf, lf, cr, ff, nel. | +| `:line-ending` | Set the document's default line ending. Options: crlf, lf. | | `:earlier`, `:ear` | Jump back to an earlier point in edit history. Accepts a number of steps or a time span. | | `:later`, `:lat` | Jump to a later point in edit history. Accepts a number of steps or a time span. | | `:write-quit`, `:wq`, `:x` | Write changes to disk and close the current view. Accepts an optional path (:wq some/path.txt) | |