diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index f48e1490a..fae784669 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -16,6 +16,8 @@ | `:write-buffer-close`, `:wbc` | Write changes to disk and closes the buffer. Accepts an optional path (:write-buffer-close some/path.txt) | | `:write-buffer-close!`, `:wbc!` | Force write changes to disk creating necessary subdirectories and closes the buffer. Accepts an optional path (:write-buffer-close! some/path.txt) | | `:new`, `:n` | Create a new scratch buffer. | +| `:goto-mark` | Go to the selection saved in a register. Register can be provided as argument or selected register else ^ will be used | +| `:register-mark` | Save current selection into a register. Register can be provided as argument or selected register else ^ will be used | | `:format`, `:fmt` | Format the file using the LSP formatter. | | `:indent-style` | Set the indentation style for editing. ('t' for tabs or 1-16 for number of spaces.) | | `:line-ending` | Set the document's default line ending. Options: crlf, lf. | diff --git a/helix-term/tests/test/movement.rs b/helix-term/tests/test/movement.rs index 9892a5c5b..c57d6e9b3 100644 --- a/helix-term/tests/test/movement.rs +++ b/helix-term/tests/test/movement.rs @@ -83,7 +83,7 @@ async fn bookmark() -> anyhow::Result<()> { }, // make a mark, make changes to the doc, colapse selection by going to end of doc // then resore mark and see the selection is still good - ":register_mark1casdfge:goto_mark1", + ":register-mark1casdfge:goto-mark1", indoc! {"\ #[|asdf]# ipsum