on master help sign in
views -> buffers in write-all (#2788)
debd240Gygaxis Vainhardt
book/src/generated/typable-cmd.md+3−3
@@ -21,9 +21,9 @@
21| `:later`, `:lat` | Jump to a later point in edit history. Accepts a number of steps or a time span. |
21| `:later`, `:lat` | Jump to a later point in edit history. Accepts a number of steps or a time span. |
22| `:write-quit`, `:wq`, `:x` | Write changes to disk and close the current view. Accepts an optional path (:wq some/path.txt) |
22| `:write-quit`, `:wq`, `:x` | Write changes to disk and close the current view. Accepts an optional path (:wq some/path.txt) |
23| `:write-quit!`, `:wq!`, `:x!` | Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt) |
23| `:write-quit!`, `:wq!`, `:x!` | Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt) |
24−| `:write-all`, `:wa` | Write changes from all views to disk. |
24+| `:write-all`, `:wa` | Write changes from all buffers to disk. |
25−| `:write-quit-all`, `:wqa`, `:xa` | Write changes from all views to disk and close all views. |
25+| `:write-quit-all`, `:wqa`, `:xa` | Write changes from all buffers to disk and close all views. |
26−| `:write-quit-all!`, `:wqa!`, `:xa!` | Write changes from all views to disk and close all views forcefully (ignoring unsaved changes). |
26+| `:write-quit-all!`, `:wqa!`, `:xa!` | Write changes from all buffers to disk and close all views forcefully (ignoring unsaved changes). |
27| `:quit-all`, `:qa` | Close all views. |
27| `:quit-all`, `:qa` | Close all views. |
28| `:quit-all!`, `:qa!` | Close all views forcefully (ignoring unsaved changes). |
28| `:quit-all!`, `:qa!` | Close all views forcefully (ignoring unsaved changes). |
29| `:cquit`, `:cq` | Quit with exit code (default 1). Accepts an optional integer exit code (:cq 2). |
29| `:cquit`, `:cq` | Quit with exit code (default 1). Accepts an optional integer exit code (:cq 2). |
helix-term/src/commands/typed.rs+3−3
@@ -1393,21 +1393,21 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
1393 TypableCommand {
1393 TypableCommand {
1394 name: "write-all",
1394 name: "write-all",
1395 aliases: &["wa"],
1395 aliases: &["wa"],
1396− doc: "Write changes from all views to disk.",
1396+ doc: "Write changes from all buffers to disk.",
1397 fun: write_all,
1397 fun: write_all,
1398 completer: None,
1398 completer: None,
1399 },
1399 },
1400 TypableCommand {
1400 TypableCommand {
1401 name: "write-quit-all",
1401 name: "write-quit-all",
1402 aliases: &["wqa", "xa"],
1402 aliases: &["wqa", "xa"],
1403− doc: "Write changes from all views to disk and close all views.",
1403+ doc: "Write changes from all buffers to disk and close all views.",
1404 fun: write_all_quit,
1404 fun: write_all_quit,
1405 completer: None,
1405 completer: None,
1406 },
1406 },
1407 TypableCommand {
1407 TypableCommand {
1408 name: "write-quit-all!",
1408 name: "write-quit-all!",
1409 aliases: &["wqa!", "xa!"],
1409 aliases: &["wqa!", "xa!"],
1410− doc: "Write changes from all views to disk and close all views forcefully (ignoring unsaved changes).",
1410+ doc: "Write changes from all buffers to disk and close all views forcefully (ignoring unsaved changes).",
1411 fun: force_write_all_quit,
1411 fun: force_write_all_quit,
1412 completer: None,
1412 completer: None,
1413 },
1413 },