diff options
author | Gygaxis Vainhardt | 2022-06-16 21:09:30 +0000 |
---|---|---|
committer | GitHub | 2022-06-16 21:09:30 +0000 |
commit | debd2405d9cb65b08fbb260854c869701ae64178 (patch) | |
tree | c4538b86ffc4fee9d84f0fce6b3f30d1e7b5ca19 | |
parent | 4d604d3b50da482049de46af02febdc04c9f0079 (diff) |
views -> buffers in write-all (#2788)
-rw-r--r-- | book/src/generated/typable-cmd.md | 6 | ||||
-rw-r--r-- | helix-term/src/commands/typed.rs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index 71a33fa7..6e6beab4 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -21,9 +21,9 @@ | `: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) | | `:write-quit!`, `:wq!`, `:x!` | Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt) | -| `:write-all`, `:wa` | Write changes from all views to disk. | -| `:write-quit-all`, `:wqa`, `:xa` | Write changes from all views to disk and close all views. | -| `:write-quit-all!`, `:wqa!`, `:xa!` | Write changes from all views to disk and close all views forcefully (ignoring unsaved changes). | +| `:write-all`, `:wa` | Write changes from all buffers to disk. | +| `:write-quit-all`, `:wqa`, `:xa` | Write changes from all buffers to disk and close all views. | +| `:write-quit-all!`, `:wqa!`, `:xa!` | Write changes from all buffers to disk and close all views forcefully (ignoring unsaved changes). | | `:quit-all`, `:qa` | Close all views. | | `:quit-all!`, `:qa!` | Close all views forcefully (ignoring unsaved changes). | | `:cquit`, `:cq` | Quit with exit code (default 1). Accepts an optional integer exit code (:cq 2). | diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 0f8884db..ae3e63af 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -1393,21 +1393,21 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[ TypableCommand { name: "write-all", aliases: &["wa"], - doc: "Write changes from all views to disk.", + doc: "Write changes from all buffers to disk.", fun: write_all, completer: None, }, TypableCommand { name: "write-quit-all", aliases: &["wqa", "xa"], - doc: "Write changes from all views to disk and close all views.", + doc: "Write changes from all buffers to disk and close all views.", fun: write_all_quit, completer: None, }, TypableCommand { name: "write-quit-all!", aliases: &["wqa!", "xa!"], - doc: "Write changes from all views to disk and close all views forcefully (ignoring unsaved changes).", + doc: "Write changes from all buffers to disk and close all views forcefully (ignoring unsaved changes).", fun: force_write_all_quit, completer: None, }, |